8000 Expose jobTimeoutMs field in JobConfigurationQuery · Issue #1421 · googleapis/python-bigquery · GitHub
[go: up one dir, main page]

Skip to content

Expose jobTimeoutMs field in JobConfigurationQuery #1421

@aravindsrinivasan

Description

@aravindsrinivasan

At job creation time I want to set a timeout for the job if it takes too long to run. Too many long running queries eat up the slot reservation and significantly deteriorates query performance. Currently we have to manually cancel the queries in the console. I noticed that there is a jobTimeoutMs field in the JobConfiguration object. This is not exposed by the Python client but is exposed by other Bigquery clients (Golang). Can we add this to the Python client as well?

The alternative would be to have a timer on the client side and manually cancel the request. This feels wasteful considering the feature already exists on the server side and it's just a question of exposing it in the client.

Metadata

Metadata

Assignees

No one assigned

    Labels

    api: bigqueryIssues related to the googleapis/python-bigquery API.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0