-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(spark): Finegrained lineage is emitted on the DataJob and not on …
…the emitted Datasets. (#11956)
- Loading branch information
Showing
9 changed files
with
319 additions
and
84 deletions.
There are no files selected for viewing
101 changes: 58 additions & 43 deletions
101
metadata-integration/java/acryl-spark-lineage/README.md
Large diffs are not rendered by default.
Oops, something went wrong.
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
66 changes: 66 additions & 0 deletions
66
...-integration/java/acryl-spark-lineage/src/test/resources/ol_events/map_partition_job.json
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
{ | ||
"eventTime": "2024-11-20T12:59:29.059Z", | ||
"producer": "https://github.com/OpenLineage/OpenLineage/tree/1.24.2/integration/spark", | ||
"schemaURL": "https://openlineage.io/spec/2-0-2/OpenLineage.json#/$defs/RunEvent", | ||
"eventType": "START", | ||
"run": { | ||
"runId": "01902a1e-0b05-750e-b38d-439998f7a853", | ||
"facets": { | ||
"parent": { | ||
"_producer": "https://github.com/OpenLineage/OpenLineage/tree/1.24.2/integration/spark", | ||
"_schemaURL": "https://openlineage.io/spec/facets/1-0-1/ParentRunFacet.json#/$defs/ParentRunFacet", | ||
"run": { | ||
"runId": "01902a1e-0b05-750e-b38d-439998f7a853" | ||
}, | ||
"job": { | ||
"namespace": "default", | ||
"name": "spark_context_session" | ||
} | ||
}, | ||
"processing_engine": { | ||
"_producer": "https://github.com/OpenLineage/OpenLineage/tree/1.24.2/integration/spark", | ||
"_schemaURL": "https://openlineage.io/spec/facets/1-1-1/ProcessingEngineRunFacet.json#/$defs/ProcessingEngineRunFacet", | ||
"version": "3.4.2", | ||
"name": "spark" | ||
}, | ||
"spark_jobDetails": { | ||
"_producer": "https://github.com/OpenLineage/OpenLineage/tree/1.24.2/integration/spark", | ||
"_schemaURL": "https://openlineage.io/spec/2-0-2/OpenLineage.json#/$defs/RunFacet", | ||
"jobId": 0 | ||
}, | ||
"spark_properties": { | ||
"_producer": "https://github.com/OpenLineage/OpenLineage/tree/1.24.2/integration/spark", | ||
"_schemaURL": "https://openlineage.io/spec/2-0-2/OpenLineage.json#/$defs/RunFacet", | ||
"properties": { | ||
"spark.master": "yarn", | ||
"spark.app.name": "SparkContextSession" | ||
} | ||
} | ||
} | ||
}, | ||
"job": { | ||
"namespace": "default", | ||
"name": "spark_context_session.map_partitions_parallel_collection", | ||
"facets": { | ||
"jobType": { | ||
"_producer": "https://github.com/OpenLineage/OpenLineage/tree/1.24.2/integration/spark", | ||
"_schemaURL": "https://openlineage.io/spec/facets/2-0-3/JobTypeJobFacet.json#/$defs/JobTypeJobFacet", | ||
"processingType": "BATCH", | ||
"integration": "SPARK", | ||
"jobType": "RDD_JOB" | ||
} | ||
} | ||
}, | ||
"inputs": [ | ||
{ | ||
"namespace": "s3://my-bucket", | ||
"name": "my_dir/my_file.csv" | ||
} | ||
], | ||
"outputs": [ | ||
{ | ||
"namespace": "s3://my-bucket", | ||
"name": "my_dir/my_file.csv" | ||
} | ||
] | ||
} |
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
Oops, something went wrong.