Can't dbt bigquery label be applied to query job label? #11784
Replies: 1 comment
|
Hi @jungmonster! The issue is likely in how the macro output is being parsed as a BigQuery job label. A few things to check:
jinja Keys and values must be lowercase yaml jinja
Let me know which dbt-bigquery adapter version you're using, as the job-label behavior had fixes in 1.8+. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Hi,
I want to apply labels and view them for analysis or to measure slot usage of dbt queries in bigquery.
So I make a bq_label macro,
apply dbt_project.yml like this.
But it doesn't appear in the job explorer. It is reflected as a comment at the top of each query.
Is it possible to make the labels appear in the queries used in dbt?
I am using dbt version 1.9.0.
All reactions