-
Notifications
You must be signed in to change notification settings - Fork 152
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
[ADAP-934] [Bug] Dataproc serverless option submission in dbt fails due to timeout issue #952
Closed
2 tasks done
Labels
bug
Something isn't working
Comments
github-actions
bot
changed the title
[Bug] Dataproc serverless option submission in dbt fails due to timeout issue
[ADAP-934] [Bug] Dataproc serverless option submission in dbt fails due to timeout issue
Oct 5, 2023
It sounds like you were able to accomplish your goal after all @alimasri ? |
The bugfix in #766 wasn't released until dbt-bigquery 1.6.0 - July 31, 2023. Could you try something like this with dbt-bigquery 1.6+ and see if it works for you or not? my-profile:
target: dev
outputs:
dev:
type: bigquery
method: oauth
project: abc-123
dataset: my_dataset
job_execution_timeout_seconds: 1800 # 30 minutes |
Thank you @dbeatty10 for the information. I upgraded to 1.6.0 and the timeout parameter worked as expected. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is this a new bug in dbt-bigquery?
Current Behavior
When using the dataproc serverless option submission in dbt, my dataproc job takes around 30 minutes to complete. However, my dbt runs keep failing with the error message "Operation did not complete within the designated timeout of 900 seconds." The dbt run stops but the dataproc serverless jobs continues running and finishes with no issues.
I have gone through the code: https://github.com/dbt-labs/dbt-bigquery/blob/main/dbt/adapters/bigquery/python_submissions.py#L51 and noticed that there is a possibility to change the timeout value.
I have tried defining the timeout value in my profile, yaml config, and in the model dbt config object in the python model itself, but with no success. I have also changed my job_execution_timeout_seconds value to 6000, but that did not work either. I am looking for a way to override the default timeout value in this scenario.
Expected Behavior
The dbt run should not fail due to a timeout issue and should complete successfully as the dataproc serverless job does.
Steps To Reproduce
Relevant log output
Operation did not complete within the designated timeout of 900 seconds.
Environment
Additional Context
No response
The text was updated successfully, but these errors were encountered: