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

[Feature] add task owner to dbt operator #1065

Closed
1 task done
wornjs opened this issue Jun 26, 2024 · 1 comment · Fixed by #1082
Closed
1 task done

[Feature] add task owner to dbt operator #1065

wornjs opened this issue Jun 26, 2024 · 1 comment · Fixed by #1082
Labels
enhancement New feature or request triage-needed Items need to be reviewed / assigned to milestone

Comments

@wornjs
Copy link
Contributor

wornjs commented Jun 26, 2024

Description

add owner information to DbtxxxOperator

Use case/motivation

Each model is created by multiple da.
When a failure occurs, I want to check the owner on the UI without checking the source.

Related issues

No response

Are you willing to submit a PR?

  • Yes, I am willing to submit a PR!
@wornjs wornjs added enhancement New feature or request triage-needed Items need to be reviewed / assigned to milestone labels Jun 26, 2024
@tatiana
Copy link
Collaborator

tatiana commented Jul 5, 2024

@wornjs, this looks like a cool feature!

How do you currently represent in dbt a model owner? Do you use the following..?
https://docs.getdbt.com/reference/resource-configs/meta#designate-a-model-owner

It does not look like a big task to map this into the Airflow argument owner.

Do you know if dbt also supports setting the owner information at a pipeline level? Ideally we'd handle both cases.

dwreeves pushed a commit to dwreeves/astronomer-cosmos that referenced this issue Jul 31, 2024
Set dbt meta owner as task owner in all Cosmos `DbtxxxOperator`s.

Closes: astronomer#1065

---------
Co-authored-by: Tatiana Al-Chueyr <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request triage-needed Items need to be reviewed / assigned to milestone
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants