【发布时间】:2020-06-26 11:07:10
【问题描述】:
我正在使用 BigQuery Java API 进行查询,我的查询看起来像
select * from <TABLE> where Hour >= timestamp('2020-05-01 00:00:00') and Hour <= timestamp('2020-05-02 00:00:00') and <COLUMN> IN (select <COLUMN> from <OTHER_TABLE> limit 1028) limit 1
我观察到,当作业标记为已完成时,并非所有任务都已完成,如下所示。
"statementType": "SELECT",
"timeline": [
{
"activeUnits": "1348",
"completedUnits": "245",
"elapsedMs": "953",
"pendingUnits": "13270",
"totalSlotMs": "11681"
},
{
"activeUnits": "1330",
"completedUnits": "246",
"elapsedMs": "1053",
"pendingUnits": "13269",
"totalSlotMs": "15647"
}
],
"totalBytesBilled": "46137344",
"totalBytesProcessed": "45657839",
"totalPartitionsProcessed": "2",
"totalSlotMs": "15647"
对于大多数作业,我通常会在完成时看到 0 个待处理的单元,并且预计它是 0。
这些任务是否被偶然跳过,也许是因为限制(我的猜测)?如果是这样的话,不应该有一个skippedUnits吗?
【问题讨论】:
标签: google-bigquery performance-testing query-performance