googleapis / googleapis/google-cloud-java

[java-bigquery] Bigquery Job's `isDone()` method returns true even if Job is not found in server

未关闭
#12,141 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
api: bigquery priority: p3 type: question
主要语言
Java
星标
2.1k
派生
1.2k
平均合并
1 天 23 小时
30 天内合并 PR
154

描述

Discovered in https://github.com/googleapis/java-bigquery/pull/4039/changes#r2632323385

Issue: https://github.com/googleapis/java-bigquery/issues/3672, found that we are making a network call to check for the job status from the server even if the status is "done".

However, we noticed that when we do make the network call to try and check the job's status, we return true even if the server can't find the original job.

This may be due to jobless queries or may be a bug in our library. This ticket is to figure out more context behind this logic. If we can't change this without a behavioral change, then we will keep this and address this in a future major version bump.

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。