Im trying to load a table from Teradata to BQ. My pipeline is first export the table data to a gcs location and then using bqload, loading the data from gs:// to the bq table.
My bqload looks like this
bq load --autodetect --source_format=CSV --project_id=xx-xx-xx --field_delimiter='^' \
BQTable \
gs:// \
Name:string,Age:INT64,Place:NUMERIC ...
But i get the below error, when im trying to load the data into the bq table using bq load
Error detected while parsing row starting at position: 1830577. Error: Data between
close double quote (") and field separator.
I tried using couple of options in the bqload command, like --quote ="" , when i used this, it gave me a different error like below
Could not parse 'MP' as NUMERIC for field XXXXXX (position 18) starting at
location 1030399 with message 'Invalid NUMERIC value: MP'
Played around with other options as well for long time, but nothing gave me the result. Can someone throw some light?