Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

DataHub Airflow Plugin

Automatic lineage and run metadata from Apache Airflow into DataHub — captures DAG structure, task inputs/outputs, and run history with no manual instrumentation.

What you can do

  • Capture pipeline lineage — automatically extract dataset-level and column-level lineage from SQL operators
  • Track run history — record task execution status, duration, and failures in DataHub
  • Enhance OpenLineage — patches Airflow's OpenLineage extractors with DataHub's advanced SQL parser for richer lineage
  • Support multiple emitters — send metadata via REST, Kafka, or file

Version compatibility

Airflow Version Support
3.0+ ✅ Fully supported
2.x ❌ Use acryl-datahub-airflow-plugin <= 1.6.0

Installation

pip install acryl-datahub-airflow-plugin

# With Kafka emitter
pip install 'acryl-datahub-airflow-plugin[datahub-kafka]'

Configuration

Add to airflow.cfg:

[datahub]
enabled = True
conn_id = datahub_rest_default   # Airflow connection pointing to your DataHub GMS

Set up the Airflow connection:

airflow connections add datahub_rest_default \
  --conn-type HTTP \
  --conn-host http://localhost:8080

The plugin activates automatically — no changes to your DAG code required.

Key configuration options

Option Default Description
enable_extractors True Enhance OpenLineage extractors
patch_sql_parser True Use DataHub's SQL parser for column-level lineage
enable_multi_statement_sql_parsing False Resolve temp tables across multi-statement tasks

Metadata

Release files for acryl-datahub-airflow-plugin 1.7.0.18rc2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for acryl-datahub-airflow-plugin 1.7.0.18rc2
File Size Uploaded Provenance Actions
acryl_datahub_airflow_plugin-1.7.0.18rc2.tar.gz 64.7 kB Without provenance Details for acryl_datahub_airflow_plugin-1.7.0.18rc2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for acryl-datahub-airflow-plugin 1.7.0.18rc2
File Interpreter ABI Platform Actions
acryl_datahub_airflow_plugin-1.7.0.18rc2-py3-none-any.whl Python 3 none any Details for acryl_datahub_airflow_plugin-1.7.0.18rc2-py3-none-any.whl

Total release size: 148.6 kB

Release files / acryl_datahub_airflow_plugin-1.7.0.18rc2.tar.gz

Download URL acryl_datahub_airflow_plugin-1.7.0.18rc2.tar.gz
Size 64.7 kB
Tags Source
SHA-256 checksum
How to use checksums
ee8b9eecee647d4a830bcdd3491cc5b5b7acfd5daee3009e0774780dac6ef48d
BLAKE2b-256 checksum
How to use checksums
18a5ac4b9f1048c921de41bae0abde01107a28fc3d61b8866a81e6b3dad023a7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.10.22

Release files / acryl_datahub_airflow_plugin-1.7.0.18rc2-py3-none-any.whl

Download URL acryl_datahub_airflow_plugin-1.7.0.18rc2-py3-none-any.whl
Size 83.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f0cf3e68a4be4e0de161475957b2b19966383dd2ce69c78bd664d0118941af9c
BLAKE2b-256 checksum
How to use checksums
c5da1d5be9bd22333de2367bf501623c07e92a5ac9b641211728e1dbefc907f0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.10.22

Security for acryl-datahub-airflow-plugin 1.7.0.18rc2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page