GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — BigQuery - remove uses of jobs.query method. · Issue #1588 · googleapis/google-cloud-java

BigQuery - remove uses of jobs.query method. #1588

New issue
Copy link
New issue
Copy link
Closed
Closed
BigQuery - remove uses of jobs.query method.#1588
Copy link
Assignees
garrettjonesgoogle
Labels
api: bigqueryIssues related to the BigQuery API.priority: p1Important issue which blocks shipping the next release. Will be fixed prior to next release.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.
Milestone
BigQuery GA

Description

@tswast
tswast
opened on Feb 2, 2017
Issue body actions

The jobs.query method should not be used in the client libraries.

Reasons: the query can time out, but it still might actually run, costing money & resources. Unless you poll for the results (not obvious you have to do this) you won't see them.

Also, the jobs/query API does not accept a job ID. This means that a retry on failure could result in duplicate queries being run, causing extra resource usage & charges.

Proposal:

  • Remove all uses of jobs/query. Instead use jobs/insert.
  • Deprecate BigQuery.query(QueryRequest). Providing a synchronous method without an explicit job ID is dangerous for the reasons listed above. Alternatively, we could generate a job ID client-side, which would protect against duplicate queries from retries from the client libraries.
  • Add a method BigQuery.query(QueryRequest, JobId) so users can explicitly provide a job ID for safe retries (even against program crashes if they save the job ID somewhere -- important for really big/expensive queries).

Activity

Next
  1. tswast
    added
    api: bigqueryIssues related to the BigQuery API.
    blocking GA
    on Feb 2, 2017
  2. danoscarmike
    added
    release-blocking
    Status: Release Blocking
    and removed
    release-blocking
    on Feb 20, 2017
  3. garrettjonesgoogle
    added
    breaking change
    and removed
    blocking GA
    on Mar 10, 2017
  4. michaelbausor
    assigned
    shinfan
    on Mar 15, 2017
  5. shinfan
    assigned
    garrettjonesgoogle
    and unassigned
    shinfan
    on Mar 17, 2017
  6. garrettjonesgoogle
    added
    triaged for beta
    and removed
    Status: Release Blocking
    on Mar 28, 2017
  7. shinfan
    added
    type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.
    and removed
    triaged for beta
    on May 8, 2017
  8. shinfan
    added this to the BigQuery GA milestone on May 8, 2017
  9. 66 remaining items

  10. chingor13
    added 2 commits that reference this issue on Mar 12, 2026

    chore: pin versions of dependencies for compatibility with Python 3.6 (…

    8cfdecc

    chore(deps): update dependency org.apache.maven.plugins:maven-javadoc…

    6b3f8c6
  11. suztomo
    added 2 commits that reference this issue on Mar 23, 2026

    chore: pin versions of dependencies for compatibility with Python 3.6 (…

    2bc323d

    deps: update dependency com.google.cloud:google-cloud-spanner-bom to …

    0a3960d
  12. suztomo
    added 2 commits that reference this issue on Mar 30, 2026

    chore: pin versions of dependencies for compatibility with Python 3.6 (…

    2a8992d

    chore: reformat code using new formatter (#1588)

    c4b9e43
  13. lqiu96
    added 2 commits that reference this issue on Apr 1, 2026

    chore: pin versions of dependencies for compatibility with Python 3.6 (…

    5e3e6d0

    chore: reformat code using new formatter (#1588)

    90c64ef
  14. meltsufin
    added 4 commits that reference this issue on Apr 29, 2026

    chore: pin versions of dependencies for compatibility with Python 3.6 (…

    55ed63c

    build(deps): bump requests from 2.27.1 to 2.31.0 in /.kokoro (#1588)

    93ec794

    chore: pin versions of dependencies for compatibility with Python 3.6 (…

    5831b95

    build(deps): bump requests from 2.27.1 to 2.31.0 in /.kokoro (#1588)

    804f9fb
  15. benjaminp
    added 3 commits that reference this issue on Jul 13, 2026

    chore: pin versions of dependencies for compatibility with Python 3.6 (…

    6a5a0d2

    fix: Modify ConvertExceptionCallable to retry on Goaway (googleapis#1588

    afcc55b

    chore(main): release 2.19.0 (googleapis#1615)

    2513ea1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @garrettjonesgoogle
    garrettjonesgoogle

Labels

api: bigqueryIssues related to the BigQuery API.priority: p1Important issue which blocks shipping the next release. Will be fixed prior to next release.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.

Type

No type

Projects

No projects

    Milestone

    • BigQuery GA

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.