Skip to content

Attach dbt Cloud job metadata to Airflow OpenLineage events#70185

Closed
br413 wants to merge 1 commit into
apache:mainfrom
br413:feat/dbt-cloud-ol-job-metadata-facets
Closed

Attach dbt Cloud job metadata to Airflow OpenLineage events#70185
br413 wants to merge 1 commit into
apache:mainfrom
br413:feat/dbt-cloud-ol-job-metadata-facets

Conversation

@br413

@br413 br413 commented Jul 21, 2026

Copy link
Copy Markdown

Summary

Relates to #68661

Test plan

  • pytest providers/dbt/cloud/tests/unit/dbt/cloud/utils/test_openlineage.py -k BuildDbtCloudJobLineage
  • CI provider-dbt-cloud checks pass

Expose dbt Cloud job_id, run_id, and account_id as job tags on the Airflow
task OperatorLineage until top-level dbt invocation events land upstream.

Relates to apache#68661
@kacpermuda

Copy link
Copy Markdown
Collaborator

Let's go for the proper long term approach here instead of patching it. After we introduce a proper top level events, we can introduce some custom dbt cloud run facet that will gold this information instead of using tags. This will give the OL consumers a clear way of consuming this information, rather than switching from this temp to a proper one later. Since this is a new feature, we can simply delay it a bit and implement it properly.

@kacpermuda kacpermuda closed this Jul 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants