googleapis / googleapis/google-cloud-java

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

Đang mở
#12,141 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
api: bigquery priority: p3 type: question
Ngôn ngữ chính
Java
Star
2.1k
Fork
1.2k
Merge trung bình
1 ngày 23 giờ
Pull request đã merge (30 ngày)
154

Mô tả

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.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.