Skip to content

Commit

Permalink
Preserve ASCII control characters directly through the BigQuery load …
Browse files Browse the repository at this point in the history
…API (#36533)

* Update gcs_to_bigquery.py

There is now the option to preserve ASCII control characters directly through the BQ load API. Add in this option

* add comma

---------

Co-authored-by: Zili Ge <[email protected]>
  • Loading branch information
romsharon98 and Gezili committed Jan 3, 2024
1 parent 18b7013 commit 75aa4a3
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -657,6 +657,7 @@ def _use_existing_table(self):
"nullMarker",
"quote",
"encoding",
"preserveAsciiControlCharacters",
],
"DATASTORE_BACKUP": ["projectionFields"],
"NEWLINE_DELIMITED_JSON": ["autodetect", "ignoreUnknownValues"],
Expand Down

0 comments on commit 75aa4a3

Please sign in to comment.