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.12rc3

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.12rc3
File Size Uploaded
acryl_datahub_airflow_plugin-1.7.0.12rc3.tar.gz 58.4 kB Details

Built distribution (wheel)

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

Total release size: 134.2 kB

Release files / acryl_datahub_airflow_plugin-1.7.0.12rc3.tar.gz

Download URL acryl_datahub_airflow_plugin-1.7.0.12rc3.tar.gz
Size 58.4 kB
Tags Source
SHA-256 checksum
How to use checksums
6c22e16a8161abadc10a4828ad3e70a5064d5cf100e0a687a6084d0360c9fd61
BLAKE2b-256 checksum
How to use checksums
f8acd7c9dd6420ee04c4997544dbb237496abbb458c0a227f5c0ccc1c0d413a9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.10.21

Release files / acryl_datahub_airflow_plugin-1.7.0.12rc3-py3-none-any.whl

Download URL acryl_datahub_airflow_plugin-1.7.0.12rc3-py3-none-any.whl
Size 75.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
10319eb4c5b46b05797c69f496ad3d7352e6b9c98f95a0d76bd8d5c26cfe1f84
BLAKE2b-256 checksum
How to use checksums
b2efaa655f2b4a6cb2441339fbbeb408da422f1044c45da84b70c8196c5610ee
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.10.21

Release history Release notifications | RSS feed

15.0.4

2 release files

This release

1.7.0.12rc3 This release

2 release files

1.7.0

2 release files

1.6.0

2 release files

1.5.0

2 release files

1.4.0

2 release files

1.3.1

2 release files

1.3.0

2 release files

1.2.0

2 release files

1.1.0

2 release files

1.0.0

2 release files

0.15.0

2 release files

0.14.1

2 release files

0.14.0

2 release files

0.13.3

2 release files

0.13.1

2 release files

0.12.0

2 release files

0.10.4

2 release files

0.10.3

2 release files

0.10.2

2 release files

0.10.1

2 release files

0.9.6

2 release files

0.9.5

2 release files

0.9.4

2 release files

0.9.3

2 release files

0.9.2

2 release files

0.9.1

2 release files

0.9.0

2 release files

0.8.45

2 release files

0.8.43

2 release files

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