Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add configurable timeout to BigQuery query jobs #1105

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

SorenSpicknall
Copy link
Collaborator

This picks up where somebody else's PR, #981, left off earlier this year. That PR closed because the original contributor deleted their fork after waiting unsuccessfully for merge.

This takes the spirit of those earlier proposed changes and adapts it to the current state of the BigQuery connector, hoping to resolve #910 once merged. I'm definitely open to a different approach if folks' thoughts on how to implement this default timeout have evolved since that last PR was active - @Jason94, I know you were part of that conversation at the time.

@austinweisgrau
Copy link
Collaborator

Love it. Do you know if there's a default timeout in bigquery? 30 seconds seems perhaps a bit short to use as a default

@shaunagm
Copy link
Collaborator

shaunagm commented Aug 8, 2024

It looks like the default timeout is 6 hours? But @SorenSpicknall might know better than me, I don't use BigQuery and just got that from searching the documentation.

Copy link
Collaborator

@austinweisgrau austinweisgrau left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shauna is right, the default BigQuery timeout is 6 hours. Definitely let's leave that default timeout at 6 hours and not shrink it to 30 seconds, that would cause some carnage

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Feature/Addition] Add Default Timeout to BigQuery Database Connections
3 participants