-
Notifications
You must be signed in to change notification settings - Fork 162
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
[Feature] Change BigQuery labels
to be additive instead of "clobber"
#1091
Comments
Thanks for reaching out @moseleyi ! Based on the docs here, this looks like the intended behavior rather than a bug. So I'm going to close this as "not planned". In order to make the documentation for the |
Why wouldn't you plan it? Having it like it is right now, diminishes the usability of this feature. It's expected as per the docs but surely they should be additive? They should work just like tags |
@graciegoheen and I discussed this briefly. The current (non-additive) behavior of labels is clearly documented, so it is not a bug. But we're open to recategorizing this as a feature request to get a feel if others are interested in this as well. At this point, it's not a priority for us, and I'm labeling this as "refinement" for us to determine at some point in the future if we'd want to adopt this or not. In the meantime, you could take a look at what others have done as a workaround here. |
labels
to be additive instead of "clobber"
@dbeatty10 Given historic issues such as #893, this issue here, the discussion you mention on dbt Discourse, this seems to be a relevant issue for many community members. Even if this is not a bug and currently intended behavior, many seem to expect additive behavior, and it would make using labels much easier. The proposed workarounds are not optimal:
|
I feel the current one could be related to this one #1110 |
This issue has been marked as Stale because it has been open for 180 days with no activity. If you would like the issue to remain open, please comment on the issue or else it will be closed in 7 days. |
Can we please not stale the issue? |
Yes, this is still very much valid feature I would like to see! |
Current Behavior
When we set labels in
dbt_project.yml
and then extra ones in the model file
The configuration of the model gets overwritten, even though the labels are different.
Expected Behavior
I expected all labels to be applied and if a label is specified twice then for the single model configuration to take precedence.
Steps To Reproduce
Create a sample model in folder
models/finance/finance_test.sql
and add the following configuration:In
dbt_project.yml
add the following configuration:Relevant log output
No response
Environment
Additional Context
No response
The text was updated successfully, but these errors were encountered: