Bigquery labels not associated with jobs
It would be nice to have these labels also associated with jobs, for governance and cost-tracking related goals.
I noticed that this was discussed in the past, and that there was a PR that solved the issue, but I'm still not seeing them in there (checking on INFORMATION_SCHEMA.JOBS). I can only see these labels in the query field, under the table definition.
Here's how I defined the labels:
config {
database: require('includes/project_ids').first2,
type: "table",
tags: ["second-attempt"],
bigquery: {
labels: {
"lemoncake-env": "dev"
}
}
}
Is this the expected behavior? Or am I doing something wrong?
Thanks in advance,
Can confirm this is no longer working.
Our understanding here is that this works in the Dataform CLI, but the labels are not set on the jobs when using Dataform in Cloud. We are tracking that request here: https://issuetracker.google.com/issues/333755528