Created
February 9, 2021 21:50
-
-
Save doit-mattporter/830e16c7dd426d1ea2df2dcaae1a3e1c to your computer and use it in GitHub Desktop.
Import Kaggle-provided temperature dataset into 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
bq load \ | |
--replace \ | |
--skip_leading_rows 1 \ | |
--source_format=CSV \ | |
${PROJECT_ID}:sensordata.temperature \ | |
gs://${BUCKET_NAME}/temperature.csv.gz \ timestamp_utc:DATETIME,timestamp_epoch:INTEGER,temp_f:FLOAT,temp_c:FLOAT,device_id:INTEGER |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment