Skip to content

feat(bigquery): add job timeout support#5707

Merged
steffnay merged 1 commit intogoogleapis:mainfrom
shollyman:fr-job-timeout
Mar 1, 2022
Merged

feat(bigquery): add job timeout support#5707
steffnay merged 1 commit intogoogleapis:mainfrom
shollyman:fr-job-timeout

Conversation

@shollyman
Copy link
Copy Markdown
Contributor

This feature allows callers to configure a job timeout. If a BigQuery
job runs longer than this duration, BigQuery may cancel the job.

We expose JobTimeout in each of the job config types, given the existing pattern.

Fixes: #3613

This feature allows callers to configure a job timeout.  If a BigQuery
job runs longer than this duration, BigQuery may cancel the job.
@shollyman shollyman requested review from a team and steffnay March 1, 2022 22:00
@product-auto-label product-auto-label Bot added size: s Pull request size is small. api: bigquery Issues related to the BigQuery API. labels Mar 1, 2022
@steffnay steffnay merged commit 868363c into googleapis:main Mar 1, 2022
@Thomasdezeeuw
Copy link
Copy Markdown

@shollyman would it be possible to use the context deadline if JobTimeout is zero?

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

Labels

api: bigquery Issues related to the BigQuery API. size: s Pull request size is small.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bigquery: expose jobTimeoutMs field

3 participants