Skip to content

Bigquery Job's isDone() method returns true even if Job is not found in server #4043

@lqiu96

Description

@lqiu96

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

Issue: #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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    api: bigqueryIssues related to the googleapis/java-bigquery API.priority: p2Moderately-important priority. Fix may not be included in next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions