Skip to main content
Version: 1.24.2

Parent Run Facet

Commonly, scheduler systems like Apache Airflow will trigger processes on remote systems, such as on Apache Spark or Apache Beam jobs. Those systems might have their own OpenLineage integration and report their own job runs and dataset inputs/outputs. The ParentRunFacet allows those downstream jobs to report which jobs spawned them to preserve job hierarchy. To do that, the scheduler system should have a way to pass its own job and run id to the child job.

Example:

{
...
"run": {
"facets": {
"parent": {
"job": {
"name": "the-execution-parent-job",
"namespace": "the-namespace"
},
"run": {
"runId": "f99310b4-3c3c-1a1a-2b2b-c1b95c24ff11"
}
}
}
}
...
}

The facet specification can be found here.