Skip to content

Propagate OpenLineage context to Databricks job runs - #72643

Merged
mobuchowski merged 1 commit into
apache:mainfrom
kacpermuda:databricks-openlineage-context-job-parameters
Sep 9, 2026
Merged

mobuchowski merged 1 commit into
apache:mainfrom
kacpermuda:databricks-openlineage-context-job-parameters

Conversation

@kacpermuda

Copy link
Copy Markdown
Collaborator

Propagates the OpenLineage parent-run context (root run id, job namespace/name) into the run_now and submit_run job parameters for the Databricks operators, so lineage emitted on the Databricks side can be tied back to the triggering Dag run.

When the job's own OpenLineage config already carries an inherited root (e.g. it was triggered by another OpenLineage-instrumented system rather than directly by Airflow), the root job's original jobType facet is preserved instead of being overwritten with the Airflow Dag job type, keeping lineage provenance accurate for inherited roots.



Was generative AI tooling used to co-author this PR?
  • Yes (please specify the tool below)

Generated-by: Claude Code (Sonnet 5) following the guidelines


  • Read the Pull Request Guidelines for more information. Note: commit author/co-author name and email in commits become permanently public when merged.
  • For fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
  • When adding dependency, check compliance with the ASF 3rd Party License Policy.
  • For significant user-facing changes create newsfragment: {pr_number}.significant.rst, in airflow-core/newsfragments. You can add this file in a follow-up commit after the PR is created so you know the PR number.

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