Skip to content

Instantly share code, notes, and snippets.

@crawles
Created June 13, 2018 16:40
Show Gist options
  • Save crawles/c70e1389bb98e2076b29ab29df41826b to your computer and use it in GitHub Desktop.
Save crawles/c70e1389bb98e2076b29ab29df41826b to your computer and use it in GitHub Desktop.
How to load a TSV file into BigQuery
# Can work for other delimiters as well
# Tab delimiter
bq load --source_format=CSV --field_delimiter=tab \
--skip_leading_rows 1 -<destination_table> <source> \
<schema>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment