Class SampleMethod (3.12.3)

SampleMethod(value)

How to sample rows if not all rows are scanned. Meaningful only when used in conjunction with either rows_limit or rows_limit_percent. If not specified, rows are scanned in the order BigQuery reads them.

Values: SAMPLE_METHOD_UNSPECIFIED (0): No description available. TOP (1): Scan groups of rows in the order BigQuery provides (default). Multiple groups of rows may be scanned in parallel, so results may not appear in the same order the rows are read. RANDOM_START (2): Randomly pick groups of rows to scan.