This documentation is for an unreleased version of Apache Flink. We recommend you use the latest stable version.
Table Sample
Table Sample #
説明 #
The TABLESAMPLE
statement is used to sample rows from the table.
構文 #
TABLESAMPLE ( num_rows ROWS )
Note: Currently, only sample specific number of rows is supported.
パラメータ #
-
num_rows
ROWS
num_rows is a constant positive to specify how many rows to sample.
例 #
SELECT * FROM src TABLESAMPLE (5 ROWS)