google-bigquery - 自 2019 年 4 月 23 日晚上 8 点 UTC 以来,我们所有计划的查询都以 `Error code 3 : Incompatible table partitioning specification.` 失败

标签 google-bigquery

我们计划的查询已经运行了几个月,没有任何问题,但是从 2019 年 4 月 23 日世界标准时间晚上 8 点开始,它们失败并出现以下错误,36 小时后它们仍然经常失败。

11:00:01 PM Error code 3 : Incompatible table partitioning specification. Destination table exists with partitioning specification interval(type:DAY,field:), but transfer target partitioning specification is interval(type:DAY,field:). Please retry after updating either the destination table or the transfer partitioning specification.

11:00:00 PM Starting to process the query job with parameter @run_date=2019-04-23.

11:00:00 PM Dispatched run to data source with id 538824528883320

以下屏幕截图显示某些运行正常(但今天我们的查询均未成功运行):

runs

我们尝试重新部署查询,但它们在第一次运行时仍然失败。点击 Retry 也会产生同样的错误。


更新 1

因此,在我们等待 Google 人员修复错误的同时,我们找到了一个解决方法,详见 https://issuetracker.google.com/issues/131266091 .

解决方案是在不使用 --require_partition_filter--time_partitioning_expiration 的情况下重新创建我们计划查询的所有目标表。

我的意思是重新创建表格。使用 bq update --norequire_partition_filter --time_partitioning_expiration 0 更新表配置无法解决问题。

最佳答案

这是一个 known issue应该会尽快修复。

关于google-bigquery - 自 2019 年 4 月 23 日晚上 8 点 UTC 以来,我们所有计划的查询都以 `Error code 3 : Incompatible table partitioning specification.` 失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/55845038/

相关文章:

google-bigquery - BigQuery 脚本: running a SQL query based on each row included in a table column

java - 如何从位于 Google Storage 的文本文件写入 Bitquery 表?

sql - 如何在 Google Bigquery 中按小时分组

google-bigquery - 如何在 bigquery 中构建 View 以实现高效的访问管理

sql - 大查询 : Append to a nested record

google-bigquery - 分组时结果总和不一致

go - 在 Google BigQuery 中将数据插入表格的嵌套字段

sql - 不同项目中表之间的 BigQuery JOIN

google-analytics - GA 到 BigQuery 导出架构中的字段 `hits.publisher.adsRevenue` 是什么意思?

google-cloud-platform - 将数据写入 BigQuery 的 GCP Cloud Function 成功运行,但数据未出现在 BigQuery 表中