我必须将JSON负载上传到大型查询中。上传负载时,出现以下错误。
我调试并发现此JSON记录似乎无效。
{"firebaseUid":"00FKNF7x2BQhDoPk9TSzE4Ncepn1","age_range":{"min":21},"signUpApp":"stationApp","uid":"00FKNF7x2BQhDoPk9TSzE4Ncepn1","locale":"en_US","emailSha256":"501a8456ececb2a50e733eed6c64b840d63d3aad99fb9ad4a1bbd2cbc33fc1f6","loginMethod":"facebook","notificationToken":"dummy","ageRangeMin":21,"pushNotificationEnabled":true,"projectId":"triplembaas","createDate":"13/07/2018","state":"QLD","station":"TripleM 104.5","facebookId":"1021TheHotBreakfast740157586","email":"connollyharley@gmail.com","cellularNetwork":"OPTUS","suburb":"Bellara","idfa":"60A63734A27E40249331658F1AC670A1","deviceId":"BBD901JaseJuelz454E100000000000000000","firstSignUpDate":"13/07/2018","name":"Harley Connolly","gender":"male","emailVerificationFlag":false,"lastUpdateDate":"20/07/2018","link":"dummy"}
读取数据时出错,错误消息:JSON表遇到太多错误,放弃了。行数:1;错误:1.请查看错误流以获取更多详细信息。
答案 0 :(得分:0)
可能我来晚了,但对于仍在寻找答案的任何人,请尝试此操作。 将日期格式更改为“ YYYY-MM-DD”。 bigquery以某种方式检测到该字段值为Date,并且不允许使用任何其他日期格式,而不是“ YYYY-MM-DD”