google-cloud-platform - BigQuery - 在哪里可以找到错误流?
问题描述
我已从 GCS 将 300K 行的 CSV 文件上传到 BigQuery,但收到以下错误:
我在哪里可以找到错误流?
我已将创建表配置更改为允许 4000 个错误并且它有效,因此消息中的 3894 行一定有问题,但此错误消息并没有告诉我太多关于哪些行或原因的信息。
谢谢
解决方案
通过在终端中运行以下命令,我终于设法看到了错误流:
bq --format=prettyjson show -j <JobID>
它返回一个包含更多细节的 JSON。就我而言,它是:
"message": "Error while reading data, error message: Could not parse '16.66666666666667' as int for field Course_Percentage (position 46) starting at location 1717164"
推荐阅读
- c - 如何测试覆盖函数转换 char 数组到结构的所有分支使用 Google 测试 C 语言
- react-router - 如何在反应中将活动添加到引导导航栏?
- node.js - 为什么我的 req.signedCookies 显示未定义?
- flutter - LayoutBuilder:constrains.maxHeight 返回无穷大
- javascript - 在移动到下一次迭代之前暂停循环并等待事件
- java - 如何将php中的会话变量复制到java?
- ios - Swift/iOS“不可能”的并发错误
- java - 我们可以在eclipse中配置两个不同的服务器吗?
- bluetooth - 如何配对设备蓝牙并发送数据
- uiviewcontroller - 错误消息“对成员 'TableView(_:numberOfRowsSection) 的不明确引用”