Big Query job fails with “Bad character (ASCII 0) encountered.”

后端 未结 3 583
孤街浪徒
孤街浪徒 2021-01-22 17:55

I have a job that is failing with the error

Line:14222274 / Field:1, Bad character (ASCII 0) encountered. Rest of file not processed.

<
3条回答
  •  佛祖请我去吃肉
    2021-01-22 18:46

    When you compress what utility did you use?.

    I saw this issue when i compressed my csv file in ZIP format ( in windows) . Google BigQuery seems to accept only gzip format.

    Make sure to compress your CSV using gzip. If you are in windows 7-zip is a great utility which allows you to compress in gzip.

    In Unix gzip is standard.

提交回复
热议问题