Skip to content

document the 2.9 macros backport#36943

Open
mobuchowski wants to merge 2 commits into
masterfrom
mobuchowski/airflow-2-9-ol-macros-backport
Open

document the 2.9 macros backport#36943
mobuchowski wants to merge 2 commits into
masterfrom
mobuchowski/airflow-2-9-ol-macros-backport

Conversation

@mobuchowski
Copy link
Copy Markdown
Contributor

What does this PR do? What is the motivation?

Adds instructions for customers on how to proceed with enabling Airflow linkage with subsequent jobs when on Airflow 2.9.2 with apache-airflow-providers-openlineage==2.2.0.

Merge readiness:

  • Ready for merge

AI assistance

Used Claude to draft the initial change.

Signed-off-by: mobuchowski <maciej.obuchowski@datadoghq.com>
@mobuchowski mobuchowski requested a review from a team as a code owner May 22, 2026 11:15
@mobuchowski mobuchowski force-pushed the mobuchowski/airflow-2-9-ol-macros-backport branch from 672df29 to 879dc5b Compare May 22, 2026 11:15
@github-actions
Copy link
Copy Markdown
Contributor

Preview links (active after the build_preview check completes)

Modified Files

)
```

**Note**: On Airflow 2.9.2 with `apache-airflow-providers-openlineage` 2.2.0 - the latest provider enabled for this Airflow version - the `lineage_root_*` macros required for root-parent linking are not available. To use them anyway, see [Backport OpenLineage lineage macros for older provider versions](#backport-openlineage-lineage-macros-for-older-provider-versions).
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you make this an "alert-info" callout (styled like this) at the top of the section so folks see this right away if they are on the problematic version?

Image

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@warrierr fixed

)
```

The `lineage_root_*` macros require `apache-airflow-providers-openlineage` 2.3.0 or later. On older provider versions (for example, Airflow 2.9.2 with provider 2.2.0), see [Backport OpenLineage lineage macros for older provider versions](#backport-openlineage-lineage-macros-for-older-provider-versions).
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you make this an "alert-info" callout (styled like this) at the top of the Spark section so folks see this right away if they are on the problematic version?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@warrierr fixed

Move the Airflow 2.9.2/provider 2.2.0 compatibility warnings to the top
of their respective sections as alert-info callouts so users see them
immediately upon landing on the section.

Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
Signed-off-by: mobuchowski <maciej.obuchowski@datadoghq.com>
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

Successfully merging this pull request may close these issues.

2 participants