[尝试将实木复合地板文件上传到BigQuery时,出现此错误:
Error while reading data, error message: Read less values than expected from: prod-scotty-45ecd3eb-e041-450c-bac8-3360a39b6c36; Actual: 0, Expected: 10
我不知道为什么会收到错误。
我尝试使用镶木地板工具检查文件,并且打印文件内容没有问题。
该镶木地板文件是使用parquetjs JavaScript库编写的。
从错误消息看来,可能是流氓换行引起的。
清理数据是一个难题,您是否考虑过使用DataPrep?如果我错了,这是Google推荐的清理/清理大型查询数据的方法。
https://cloud.google.com/dataprep/docs/html/BigQuery-Data-Type-Conversions_102563896