-
Notifications
You must be signed in to change notification settings - Fork 16.3k
add root parent information to OpenLineage events #49237
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
add root parent information to OpenLineage events #49237
Conversation
f7d7ccc to
b800438
Compare
|
@mobuchowski test failures on this one. Is it important before today's provider wave? |
b800438 to
fe603ef
Compare
|
@amoghrajesh looking at this right now. |
|
@amoghrajesh rebase fixed those issues. |
providers/dbt/cloud/src/airflow/providers/dbt/cloud/utils/openlineage.py
Show resolved
Hide resolved
providers/openlineage/src/airflow/providers/openlineage/utils/utils.py
Outdated
Show resolved
Hide resolved
providers/openlineage/src/airflow/providers/openlineage/utils/utils.py
Outdated
Show resolved
Hide resolved
providers/openlineage/src/airflow/providers/openlineage/plugins/listener.py
Outdated
Show resolved
Hide resolved
providers/snowflake/src/airflow/providers/snowflake/utils/openlineage.py
Show resolved
Hide resolved
providers/openlineage/src/airflow/providers/openlineage/plugins/macros.py
Show resolved
Hide resolved
fe603ef to
39966e0
Compare
1c8d095 to
def2bf1
Compare
kacpermuda
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for all the changes, LGTM.
|
@amoghrajesh want to take another look at that one? @kacpermuda reviewed it and approved. |
|
needs conflict resolving |
c3511a3 to
7a5a871
Compare
|
@potiuk done. |
providers/dbt/cloud/src/airflow/providers/dbt/cloud/utils/openlineage.py
Show resolved
Hide resolved
potiuk
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One NIT - with version consistency
Signed-off-by: Maciej Obuchowski <maciej.obuchowski@datadoghq.com>
7a5a871 to
9760a17
Compare
Signed-off-by: Maciej Obuchowski <maciej.obuchowski@datadoghq.com>
The apache#49237 did not bump openlineage provider. This PR fixes it.
The #49237 did not bump openlineage provider. This PR fixes it.
This PR extends OpenLineage integration in Airflow to support root parent lineage metadata via the newly added
rootfield in the ParentRunFacet.Previously, consumers had to recursively traverse parent references to determine root job in lineage hierarchy. With this update, consumers can immediately identify the DAG-level root job and run for any depth of children task.
More on the underlying OpenLineage feature: https://docs.google.com/document/d/1JypxrJc0MkrarzYfMopK-TF8QiPpjPnk2je4mgq9e4k
This updates both
openlineageprovider as few others that generate OL events by themselves.