Last active
October 6, 2016 18:43
-
-
Save lakshmanok/13e099c064fa2d5656b134a6a291d5e6 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 | |
ABS(HASH(date))%70 == 0 AND ABS(HASH(date)) % 10 < 8 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
To be clear, this is wrong sampling. It doesn't work. Please don't use this as a sample!