【发布时间】:2014-05-21 07:16:33
【问题描述】:
我有一个压缩的 json 文件(900MB,换行符分隔)并通过bq 命令加载到一个新表中,然后加载失败:
例如
bq load --project_id=XXX --source_format=NEWLINE_DELIMITED_JSON --ignore_unknown_values mtdataset.mytable gs://xxx/data.gz schema.json
Waiting on bqjob_r3ec270ec14181ca7_000001461d860737_1 ... (1049s) Current status: DONE
BigQuery error in load operation: Error processing job 'XXX:bqjob_r3ec270ec14181ca7_000001461d860737_1': Too many errors encountered. Limit is: 0.
Failure details:
- File: 0: Unexpected. Please try again.
为什么会出错?
我再次尝试使用--max_bad_records,仍然没有有用的错误消息
bq load --project_id=XXX --source_format=NEWLINE_DELIMITED_JSON --ignore_unknown_values --max_bad_records 2 XXX.test23 gs://XXX/20140521/file1.gz schema.json
Waiting on bqjob_r518616022f1db99d_000001461f023f58_1 ... (319s) Current status: DONE
BigQuery error in load operation: Error processing job 'XXX:bqjob_r518616022f1db99d_000001461f023f58_1': Unexpected. Please try again.
并且在控制台中也找不到任何有用的消息。
BigQuery 团队,你能用作业 ID 看看吗?
【问题讨论】:
标签: google-bigquery