-
Notifications
You must be signed in to change notification settings - Fork 153
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
BigQuery labels on schemas/dataset #22
Comments
Thanks for the idea @shedd! It's helpful to know that this a requirement for integrating with other tools. I'm totally in favor of coming up with an approach here, I'm just not sure what it should be. There's some helpful discussion over in dbt-labs/dbt-core#1714 around a similar idea, how to persist docs for BigQuery datasets. The same questions apply here:
Dataset location (#969) feels a bit different because it's an attribute of the connection, specified in For the purpose of integrating with your inventory tracking service, would it be sufficient to simply put a I'm tagging this |
Hey there, Eventually this problem was solved with this macro:
Tha macro could be made more generic, and source labels from the project.yml, but for the time being it works as expected. |
@sparrovv this is great. Thank you 👍 |
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 remove the stale label or comment on the issue, or it will be closed in 7 days. |
Is there any plan to make this native functionality (without a macro) in DBT? |
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 remove the stale label or comment on the issue, or it will be closed in 7 days. |
Describe the feature
We use labels on Google Cloud assets for inventory tracking purposes. For our Bigquery datasets, we need labels at the schema/dataset level.
It looks like it's possible to add other Bigquery schema-level configuration to the profile - e.g. dataset location.
Are there any plans to support labels at the dataset level?
Describe alternatives you've considered
We tested table-level labels implemented as per dbt-labs/dbt-core#1942 but our inventory tracking service (Vanta for SOC2 purposes) expects the labels at the dataset level.
Who will this benefit?
Other Bigquery users who are working with labels at the dataset level.
The text was updated successfully, but these errors were encountered: