Skip to content

Instantly share code, notes, and snippets.

@lakshmanok
Created October 6, 2016 18:45
Show Gist options
  • Save lakshmanok/50c6e2b0a52db982356e10bd7d0115fc to your computer and use it in GitHub Desktop.
Save lakshmanok/50c6e2b0a52db982356e10bd7d0115fc to your computer and use it in GitHub Desktop.
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)) % 700 < 560
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment