An Apache Airflow provider for running PySpark or Scala/Spark jobs on AWS Glue, Databricks, or Wherobots Cloud from a single DAG-level API.
Write a DAG once and target any supported engine by switching one argument. Cluster shape, Iceberg catalog wiring, JAR and wheel distribution, and per-platform cluster init are handled by the provider.
Features
- Single entry point:
spark_agnostic_task_groupruns the same job on any supported engine; onlyspark_impl_nameand the platform config change. - Typed configuration: no org-specific defaults; every environment value is passed in.
- Classified failures with safe retries and console links.
- Local rendering of submission payloads, plus a Bundle Inspector Airflow UI plugin.
Contents
- Install
- Quick start
- Operator links
- Failure messages
- Wherobots runtime selection
- Databricks runner deployment
- Local rendering
- Bundle Inspector plugin
- Reference
- Development
Install
pip install airflow-provider-overture
Optional extras for platforms that need additional SDKs:
pip install "airflow-provider-overture[databricks]"
pip install "airflow-provider-overture[wherobots]"
pip install "airflow-provider-overture[all]"
Requires Python >=3.11 and Apache Airflow >=3.3.
Quick start
from datetime import datetime
from airflow import DAG
from overture_airflow_provider import (
ArtifactStoreConfig,
AwsGlueClusterSize,
GlueConfig,
IcebergConfig,
PackageRegistryConfig,
spark_agnostic_task_group,
)
with DAG(
dag_id="example_spark_agnostic",
start_date=datetime(2025, 1, 1),
schedule=None,
catchup=False,
) as dag:
spark_agnostic_task_group(
group_id="my_spark_job",
spark_impl_name="GLUE_v5",
sedona_version="1.7.0",
module_name="my_pkg.jobs",
class_name="MyJob",
python_packages="my-pkg==1.0.0",
parameters={"s3_input": "s3://example-bucket/in/", "s3_output": "s3://example-bucket/out/"},
spark_cluster_size=AwsGlueClusterSize.G_2X.name,
artifact_store=ArtifactStoreConfig(
s3_bucket="example-bucket",
s3_root="spark-agnostic-operator",
),
package_registry=PackageRegistryConfig(
domain="my-domain",
domain_owner="123456789012",
repository="my-pypi",
region="us-east-1",
),
glue_config=GlueConfig(iam_role_name="AWSGlueServiceRole"),
iceberg_config=IcebergConfig(spark_config="{}"),
)
Switching to Databricks or Wherobots requires only a different spark_impl_name and the matching config dataclass. The surrounding DAG code does not change.
See examples/example_dag.py for a runnable DAG targeting all three platforms.
See SPEC.md for the full architecture.
Operator links
The execute_spark_job task gets a "Spark Job" console link automatically, plus an opt-in, pluggable "Report Issue" link. See docs/operator-links.md.
Failure messages
Failures are classified (downstream-job, submit/config, trigger/polling, platform/infra, platform/capacity) with a reason, root-cause tail, hint, and console link. Submit and capacity faults are retryable via retries=; jobs that ran and failed never are. See docs/failure-messages.md.
Wherobots runtime selection
Set spark_cluster_size_name (for example "large-himem") to pick a specific Wherobots runtime; Glue and Databricks ignore it. See docs/wherobots-runtime-selection.md.
Databricks runner deployment
setup_cluster stages the runner notebook and init script into the workspace by default; stage_workspace_assets=False keeps deployment manual. See docs/databricks-runner-deployment.md.
Local rendering
python -m overture_airflow_provider.render produces the platform submission payload without running Airflow. See docs/local-rendering.md.
Bundle Inspector plugin
Installing the package also registers an Airflow UI plugin for browsing Overture bundles in S3. See docs/bundle-inspector.md.
Reference
Supported versions, the Spark platform matrix (GLUE_v4/GLUE_v5, DATABRICKS_v14/DATABRICKS_v15, WHEROBOTS_v1_5_0) and tested Apache Sedona pairings are in docs/reference.md.
Development
uv sync --all-extras --group dev
uv run pytest -v
uv run ruff check .
uv run ruff format --check .
Requires Airflow 3.x. _airflow_compat.py is the single import point for the airflow.sdk symbols the provider uses.
Windows: Apache Airflow does not officially support Windows (a warning is emitted at import time). Tests, lint, and the render module all work, but production deployments should run on Linux or macOS.
See CONTRIBUTING.md.
Metadata
Release files for airflow-provider-overture 1.3.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| airflow_provider_overture-1.3.1.tar.gz | 131.9 kB | With provenance | Details for airflow_provider_overture-1.3.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| airflow_provider_overture-1.3.1-py3-none-any.whl | Python 3 | none | any | Details for airflow_provider_overture-1.3.1-py3-none-any.whl |
Total release size: 290.5 kB
Release files / airflow_provider_overture-1.3.1.tar.gz
| Download URL | airflow_provider_overture-1.3.1.tar.gz |
|---|---|
| Size | 131.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b227964a5837b503ae906293e89ab2a61e4d59df430cb4e8453368c73cb2001a
|
|
BLAKE2b-256 checksum How to use checksums |
9c4c0271a3e006728fdb5ab23b308c3b2976075684eeb4d6cb51a9771619c5ef
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 14, 2026.
Transparency logRelease files / airflow_provider_overture-1.3.1-py3-none-any.whl
| Download URL | airflow_provider_overture-1.3.1-py3-none-any.whl |
|---|---|
| Size | 158.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
06b32625cd8766caf4f0aa1e52af9a4b5033bedbdc7b28521e6d9a8f431b24e2
|
|
BLAKE2b-256 checksum How to use checksums |
928c83c0d5645f319b34baa66c4167402d0955077d1e5f4c24b4fe46724535d1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 14, 2026.
Transparency logSecurity for airflow-provider-overture 1.3.1
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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for airflow_provider_overture-1.3.1.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 14, 2026.
Transparency logA 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.