Skip to content

Commit

Permalink
bulker: bigquery: Load: enable PreserveASCIIControlCharacters
Browse files Browse the repository at this point in the history
  • Loading branch information
absorbb committed Dec 4, 2023
1 parent 7549599 commit 582b538
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bulkerlib/implementations/sql/bigquery.go
Original file line number Diff line number Diff line change
Expand Up @@ -586,6 +586,7 @@ func (bq *BigQuery) LoadTable(ctx context.Context, targetTable *Table, loadSourc
source.SourceFormat = bigquery.CSV
source.SkipLeadingRows = 1
source.AllowQuotedNewlines = true
source.PreserveASCIIControlCharacters = true
source.CSVOptions.NullMarker = "\\N"
} else if loadSource.Format == types2.FileFormatNDJSON {
source.SourceFormat = bigquery.JSON
Expand Down

0 comments on commit 582b538

Please sign in to comment.