【发布时间】:2019-05-08 16:02:35
【问题描述】:
当从 mongo 导入到 big-query 时,会出现以下错误。我们有一个脚本,它从 s3 上的 mongo 转储中准备数据(大约 2.8GB),然后将其转换为“NEWLINE_DELIMITED_JSON”。
该脚本直到最近都运行良好,并且没有更改。
有人知道如何解决此问题并找到导致问题的文档吗?
"status": {
"errorResult": {
"message": "Error while reading data, error message: JSON table encountered too many errors, giving up. Rows: 41081; errors: 1. Please look into the errors[] collection for mor
e details.",
"reason": "invalid"
},
"errors": [
{
"message": "Error while reading data, error message: JSON table encountered too many errors, giving up. Rows: 41081; errors: 1. Please look into the errors[] collection for m
ore details.",
"reason": "invalid"
},
{
"message": "Error while reading data, error message: JSON processing encountered too many errors, giving up. Rows: 41081; errors: 1; max bad: 0; error percent: 0",
"reason": "invalid"
},
{
"message": "Error while reading data, error message: JSON parsing error in row starting at position 2890606042: Parser terminated before end of string",
"reason": "invalid"
}
],
"state": "DONE"
【问题讨论】:
-
拥有一些您尝试导入的示例数据会有很大帮助
-
您也可以查看邮件中提到的
errors[] collection的详细信息
标签: json mongodb google-bigquery