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

openlineage: fix / add some task attributes in AirflowRunFacet #40725

Merged
merged 3 commits into from
Jul 12, 2024

Conversation

kacpermuda
Copy link
Contributor

We only include operator name in TaskInfo, this PR adds the full path to the operator. It should be easier to identify them in case there are multiple operators with the same name.

Also, inlets and outlets added in #40371 only make sense for Datasets so this PR only takes those into consideration. All other lineage entities (File, Table) are already translated into input / output datasets here.

When I'm at it, I'm extending the translation from Table with DocumentationDatasetFacet.


^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named {pr_number}.significant.rst or {issue_number}.significant.rst, in newsfragments.

@kacpermuda kacpermuda force-pushed the ol-fix-some-task-attributes branch from fc5f8dd to ac702e4 Compare July 11, 2024 11:43
@kacpermuda kacpermuda force-pushed the ol-fix-some-task-attributes branch from ac702e4 to e994960 Compare July 12, 2024 12:06
@kacpermuda kacpermuda requested a review from mobuchowski July 12, 2024 12:07
@mobuchowski mobuchowski merged commit ea18121 into apache:main Jul 12, 2024
51 checks passed
@kacpermuda kacpermuda deleted the ol-fix-some-task-attributes branch July 12, 2024 14:06
romsharon98 pushed a commit to romsharon98/airflow that referenced this pull request Jul 26, 2024
…e#40725)

* openlineage: Only include Airflow Datasets as inlets/outlets in AirflowRunFacet

Signed-off-by: Kacper Muda <[email protected]>

* openlineage: Add full path to operator in AirflowRunFacet

Signed-off-by: Kacper Muda <[email protected]>

* openlineage: Add documentation facet when translating from Table entity

Signed-off-by: Kacper Muda <[email protected]>

---------

Signed-off-by: Kacper Muda <[email protected]>
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