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

Implement HookLineageCollector for collection of Hook-generated datasets #38766

Closed
1 task done
mobuchowski opened this issue Apr 5, 2024 · 0 comments · Fixed by #40335
Closed
1 task done

Implement HookLineageCollector for collection of Hook-generated datasets #38766

mobuchowski opened this issue Apr 5, 2024 · 0 comments · Fixed by #40335
Labels
AIP-62 Tasks tracking implementation of AIP-62 Getting Lineage from Hook Instrumentation area:lineage

Comments

@mobuchowski
Copy link
Contributor

Body

Implement HookLineageCollector that can receive AIP-60 compliant datasets from hooks AIP-62 implementation.

Conversion between AIP-60 and OpenLineage dataset naming, despite not being a part of this issue, needs to be considered: one of the solution might require accepting pairs of data in the forms of (Dataset/Hook) or (Dataset/Object Storage Implementation).

HookLineageCollector should expose collected datasets to listeners. This involves making datasets available to worker or listeners that have registered interest in them - whether by implementing some method or maybe some option.

Collection should be designed as a no-operation (no-op) if there are no listeners registered to use the data. Then, resources are not wasted on collecting and exposing datasets when there is no downstream consumption.

Committer

  • I acknowledge that I am a maintainer/committer of the Apache Airflow project.
@mobuchowski mobuchowski added area:lineage AIP-62 Tasks tracking implementation of AIP-62 Getting Lineage from Hook Instrumentation labels Apr 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
AIP-62 Tasks tracking implementation of AIP-62 Getting Lineage from Hook Instrumentation area:lineage
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant