[ADAP-1062] [Bug] Retries on wait for result step is recreating the whole job #1045
Closed
2 tasks done
Labels
bug
Something isn't working
Is this a new bug in dbt-bigquery?
Current Behavior
Retries on wait for result step is recreating the whole BigQuery job which means it's duplicating the run.
It can lead to few problems:
It took us few hours to 2-3 engineers actually pinpoint the origin of the problem as we didn't expect that kind of behavior.
To workaround the issue, we use
retries: 0
on the production connection be sure we always rerunning the whole models fully to be safe.Expected Behavior
If a job has been started successfully, we should retry to connect to the actual job status and not create a new one.
Steps To Reproduce
This bug is hard to reproduce as it depends on potential Google's being in error or the network to fail on the request.
It might be mimicked by changing the code the code return an error instead of waiting for the result.
Relevant log output
Environment
Additional Context
No response
The text was updated successfully, but these errors were encountered: