Skip to content
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 not associated with jobs #1870

Open
mguidoti opened this issue Nov 12, 2024 · 2 comments
Open

Bigquery labels not associated with jobs #1870

mguidoti opened this issue Nov 12, 2024 · 2 comments

Comments

@mguidoti
Copy link

mguidoti commented Nov 12, 2024

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,

@astorrs
Copy link

astorrs commented Nov 12, 2024

Can confirm this is no longer working.

@lewish
Copy link
Collaborator

lewish commented Nov 22, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants