Airflow Summit 2026 is coming August 31 - September 2 in Austin, TX. Register now to secure your spot!

tests.system.openlineage.example_openlineage_policy_hook_lineage_dag

DAG exercising the OpenLineage emission policy authoring API.

Per-task hook_lineage=False blocks asset + SQL child events.

Also verifies precedence: extract_operator_metadata=False short-circuits the whole extraction pipeline, so hook_lineage=True becomes inert (no asset inputs/outputs, no SQL child events) on those tasks.

Attributes

DAG_ID

t_with_hook

test_run

Module Contents

tests.system.openlineage.example_openlineage_policy_hook_lineage_dag.DAG_ID = 'openlineage_policy_hook_lineage_dag'[source]
tests.system.openlineage.example_openlineage_policy_hook_lineage_dag.t_with_hook[source]
tests.system.openlineage.example_openlineage_policy_hook_lineage_dag.test_run[source]

Was this entry helpful?