Cloud SQL export to CSV then load to BigQuery

262 views
Skip to first unread message

Tay Ta

unread,
Dec 16, 2021, 10:49:44 AM12/16/21
to Google Cloud SQL discuss
Hi everyone

I am trying to export my data from Cloud SQL to CSV file storing in google cloud storage then load the file to BigQuery as external table.

The exporting is working well, the null value can be exported as "N or \N.
But seems like we don't have any null marker setting on BigQuery external table to tell BigQuery load the "N or \N to null value to my external table?


Thanks

holoubi

unread,
Dec 16, 2021, 4:06:19 PM12/16/21
to Google Cloud SQL discuss
We already support a null marker that should do the job for the user. See https://cloud.google.com/bigquery/docs/loading-data-cloud-storage-csv#csv-options

kayen here

unread,
Jan 22, 2022, 8:39:01 PM1/22/22
to Google Cloud SQL discuss
Thanks for sharing. I am checking this link it is really useful for paragon data.
Reply all
Reply to author
Forward
0 new messages