BigQuery - Where can I find the error stream?

Ary Jazz picture Ary Jazz · Aug 30, 2018 · Viewed 16.2k times · Source

I have uploaded a CSV file with 300K rows from GCS to BigQuery, and received the following error:

error_image

Where can I find the error stream?

I've changed the create table configuration to allow 4000 errors and it worked, so it must be a problem with the 3894 rows in the message, but this error message does not tell me much about which rows or why.

Thanks

Answer

Ary Jazz picture Ary Jazz · Sep 5, 2018

I'm finally managed to see the error stream by running the following command in the terminal:

bq --format=prettyjson show -j <JobID>

It returns a JSON with more details. In my case it was:

"message": "Error while reading data, error message: Could not parse '16.66666666666667' as int for field Course_Percentage (position 46) starting at location 1717164"