Skip to content

Instantly share code, notes, and snippets.

@Geremie
Last active May 19, 2022 14:49
Show Gist options
  • Save Geremie/4c3d25fc3542246cea8e3a16190ab142 to your computer and use it in GitHub Desktop.
Save Geremie/4c3d25fc3542246cea8e3a16190ab142 to your computer and use it in GitHub Desktop.
Do Yourself a Favor and Stay Away from BigQuery Schema Auto-detection
!bq load --autodetect \
--source_format NEWLINE_DELIMITED_JSON \
tmp.test_sample_2 gs://<path_to_folder_containing_the_file>test_sample_2.csv code:STRING
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment