Last active
October 6, 2016 18:24
-
-
Save lakshmanok/fd1df45a45dd874c165337a7f12e8e57 to your computer and use it in GitHub Desktop.
Random Sampling in BigQuery
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT | |
date, | |
airline, | |
departure_airport, | |
departure_schedule, | |
arrival_airport, | |
arrival_delay | |
FROM | |
[bigquery-samples:airline_ontime_data.flights] | |
WHERE | |
RAND() < 0.8 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment