forked from OpenLineage/OpenLineage
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Airflow] Fixed format returned by
airflow.macros.lineage_parent_id
. (
OpenLineage#2578) * [OpenLineage#2488] Fixed format returned by `airflow.macros.lineage_parent_id`. - Returned format: `<namespace>/<name>/<run_id>`. - `name` should be `<dag_id>.<task_id>`, not a UUID. - `run_id` should be a UUID, not `<run_timestamp>.<try_number>`. - Both `lineage_run_id` and `lineage_parent_id` should expose the same interface - only a `TaskInstance` object is now required as argument. - Import `_DAG_NAMESPACE` instead of inferring it again. Airflow reference: apache/airflow#37877 Signed-off-by: Fabio Manganiello <[email protected]> * Fixed redefinition of `get_unknown_source_attribute_run_facet` introduced upon merge. Signed-off-by: Fabio Manganiello <[email protected]> * Addressed OpenLineage#2578 (comment) Signed-off-by: Fabio Manganiello <[email protected]> * Fixed failing macro test Signed-off-by: Fabio Manganiello <[email protected]> --------- Signed-off-by: Fabio Manganiello <[email protected]> Signed-off-by: Fabio Manganiello <[email protected]>
- Loading branch information
1 parent
edef397
commit ce47cdf
Showing
5 changed files
with
31 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters