-
Notifications
You must be signed in to change notification settings - Fork 166
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-1069] Custom batch_id prevents rebuilding the model on subsequent builds #1051
Comments
This was found after trying to bypass the ADAP-1067 issue by setting a custom |
Looks like I missed that this was also found in ADAP-1016. |
Thanks for raising this @dlubawy, it's worth noting that the fix we have pushed out likely does not address this specific case as setting a static |
Prefix with an appended invocation_id sounds like a good idea. However, there would need to be some enforcement on the user input for the configuration such that this wouldn't break due to batch_id length constraints. This is the issue for #1050 when batch_id was being derived from node names in v1.7. |
This issue implies we have some opportunities to improve the UX around batch id. |
I've been running into this problem for a while now. For completeness on issue tracking, I'll link my recent comment on a related issue: #1006. |
Is this a new bug in dbt-bigquery?
Current Behavior
Setting a custom
batch_id
in a Python model's build config prevents rebuilds. Cause is a failure to create new batches due to conflicting IDs.Expected Behavior
Setting a custom
batch_id
still allows for future dbt building of Python models.Steps To Reproduce
dbt-core
anddbt-bgiquery
batch_id
configuration:dbt.config(..., batch_id='foo')
Relevant log output
Environment
Additional Context
No response
The text was updated successfully, but these errors were encountered: