我的 BigQuery 表的架构如下所示:
A:STRING,B:STRING,C:STRING,D:STRING,E:STRING,F:STRING,createdAt:INTEGER,updatedAt:INTEGER,I:STRING
云存储中的文件 (JSON) 有一个项目,它看起来像:
{
"A": "AAA",
"B": "BBB",
"E": "EEEEE",
"F": "FFFFF",
"createdAt": 1364226047214,
"XXXX": "XXXXXXXXXXX",
"I": "IIIIII",
"YYYY": {
"Y1": 1.99,
"Y2": "YYYYYY"
},
"location": {
"city": "Amherst",
"region": "NS",
"country": "CA"
},
"purchaseDate": 1364225968000,
"updatedAt": 1364226052634
}
我收到以下错误:
Errors:
Line:1 / Column:173, The field "createdAt" was not found on the current message.
Too many errors encountered. Limit is: 0.
与上述错误相关的两个问题:
BigQuery 如何处理数据中的缺失字段?默认情况下不是所有字段都可以为空吗?
BigQuery 如何处理数据中的未知/额外字段?