<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://openlakehouse.io/w/index.php?action=history&amp;feed=atom&amp;title=Apache_Airflow</id>
	<title>Apache Airflow - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://openlakehouse.io/w/index.php?action=history&amp;feed=atom&amp;title=Apache_Airflow"/>
	<link rel="alternate" type="text/html" href="https://openlakehouse.io/w/index.php?title=Apache_Airflow&amp;action=history"/>
	<updated>2026-12-06T00:08:12Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.11</generator>
	<entry>
		<id>https://openlakehouse.io/w/index.php?title=Apache_Airflow&amp;diff=52&amp;oldid=prev</id>
		<title>Open Lakehouse Wiki sync: Sync from open-lakehouse/wiki@355a38d</title>
		<link rel="alternate" type="text/html" href="https://openlakehouse.io/w/index.php?title=Apache_Airflow&amp;diff=52&amp;oldid=prev"/>
		<updated>2026-11-22T18:53:22Z</updated>

		<summary type="html">&lt;p&gt;Sync from open-lakehouse/wiki@355a38d&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Infobox software&lt;br /&gt;
| name                = Apache Airflow&lt;br /&gt;
| developer           = [[Apache Software Foundation]]&lt;br /&gt;
| initial_release     = 2015 (open sourced by Airbnb)&lt;br /&gt;
| latest_release      = 3.4.0&lt;br /&gt;
| latest_release_date = 2026-11-06&lt;br /&gt;
| written_in          = Python&lt;br /&gt;
| type                = Workflow orchestration platform&lt;br /&gt;
| license             = Apache License 2.0&lt;br /&gt;
| website             = [https://airflow.apache.org airflow.apache.org]&lt;br /&gt;
| repo                = [https://github.com/apache/airflow github.com/apache/airflow]&lt;br /&gt;
| related             = [[Apache Spark]], [[Spark Declarative Pipelines]]&lt;br /&gt;
}}&lt;br /&gt;
{{Verified|2026-11-22|the Airflow 3.4.0 release notes and documentation, PyPI (apache-airflow 3.4.0, apache-airflow-providers-apache-spark 6.3.4) and the provider source at tag providers-apache-spark/6.3.4}}&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Apache Airflow&amp;#039;&amp;#039;&amp;#039; is an open source platform for developing, scheduling and monitoring workflows, such as batch data pipelines and machine learning jobs, in which each workflow is defined as Python code.&amp;lt;ref name=&amp;quot;index&amp;quot;&amp;gt;{{Cite web |url=https://airflow.apache.org/docs/apache-airflow/3.4.0/index.html |title=What is Airflow? (Airflow 3.4.0 documentation) |publisher=Apache Software Foundation |access-date=2026-11-22}}&amp;lt;/ref&amp;gt; Airflow does not process data itself; it decides when tasks run, in what order, and what happens when they fail. In an [[open lakehouse]], Airflow commonly starts the [[Apache Spark]] jobs and other steps that load and transform tables.&lt;br /&gt;
&lt;br /&gt;
== Concepts ==&lt;br /&gt;
An Airflow workflow is a &amp;#039;&amp;#039;&amp;#039;Dag&amp;#039;&amp;#039;&amp;#039; (directed acyclic graph): a model that holds everything needed to run a workflow, including its schedule, its tasks and the dependencies between them, and callbacks for when it completes.&amp;lt;ref name=&amp;quot;index&amp;quot; /&amp;gt; Because Dags are Python code, they can be generated dynamically and parameterized.&amp;lt;ref name=&amp;quot;index&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Each step in a Dag is a &amp;#039;&amp;#039;&amp;#039;task&amp;#039;&amp;#039;&amp;#039;, usually created from an &amp;#039;&amp;#039;&amp;#039;operator&amp;#039;&amp;#039;&amp;#039;, a reusable template for one kind of work such as running a shell command or submitting a Spark job. Operators for external systems are shipped in separately versioned &amp;#039;&amp;#039;&amp;#039;provider&amp;#039;&amp;#039;&amp;#039; packages.&amp;lt;ref name=&amp;quot;spark-ops&amp;quot;&amp;gt;{{Cite web |url=https://airflow.apache.org/docs/apache-airflow-providers-apache-spark/6.3.4/operators.html |title=Apache Spark Operators (apache-airflow-providers-apache-spark 6.3.4) |publisher=Apache Software Foundation |access-date=2026-11-22}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Architecture ==&lt;br /&gt;
In Airflow 3.4, a minimal installation has the following required components:&amp;lt;ref name=&amp;quot;arch&amp;quot;&amp;gt;{{Cite web |url=https://airflow.apache.org/docs/apache-airflow/3.4.0/core-concepts/overview.html |title=Architecture Overview (Airflow 3.4.0) |publisher=Apache Software Foundation |access-date=2026-11-22}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* a &amp;#039;&amp;#039;&amp;#039;scheduler&amp;#039;&amp;#039;&amp;#039;, which triggers scheduled workflows and submits tasks to the &amp;#039;&amp;#039;&amp;#039;executor&amp;#039;&amp;#039;&amp;#039; (a configuration of the scheduler that runs inside the scheduler process, not a separate component);&lt;br /&gt;
* a &amp;#039;&amp;#039;&amp;#039;Dag processor&amp;#039;&amp;#039;&amp;#039;, which parses Dag files from a &amp;#039;&amp;#039;&amp;#039;Dag bundle&amp;#039;&amp;#039;&amp;#039; and stores them in serialized form in the metadata database;&lt;br /&gt;
* an &amp;#039;&amp;#039;&amp;#039;API server&amp;#039;&amp;#039;&amp;#039;, which serves the REST API and the user interface, and through which tasks report their state back to Airflow without direct database access;&lt;br /&gt;
* a &amp;#039;&amp;#039;&amp;#039;metadata database&amp;#039;&amp;#039;&amp;#039;, usually PostgreSQL or MySQL, which stores the state of tasks, Dags and variables.&lt;br /&gt;
&lt;br /&gt;
Optional components include &amp;#039;&amp;#039;&amp;#039;workers&amp;#039;&amp;#039;&amp;#039; (for example long-running processes with the CeleryExecutor, or pods with the KubernetesExecutor), a &amp;#039;&amp;#039;&amp;#039;triggerer&amp;#039;&amp;#039;&amp;#039; that runs deferred tasks in an asyncio event loop, and a plugins folder.&amp;lt;ref name=&amp;quot;arch&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== History ==&lt;br /&gt;
Maxime Beauchemin started Airflow at Airbnb in October 2014. It was open sourced on Airbnb&amp;#039;s GitHub and announced in June 2015. The project entered the Apache Incubator in March 2016, and the ASF announced Apache Airflow as a top-level project in January 2019.&amp;lt;ref&amp;gt;{{Cite web |url=https://airflow.apache.org/docs/apache-airflow/3.4.0/project.html |title=Project (Airflow 3.4.0) |publisher=Apache Software Foundation |access-date=2026-11-22}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Airflow 2.0.0 was published on 17 December 2020 and Airflow 3.0.0 on 22 April 2025.&amp;lt;ref name=&amp;quot;pypi&amp;quot;&amp;gt;{{Cite web |url=https://pypi.org/project/apache-airflow/#history |title=apache-airflow release history |publisher=Python Package Index |access-date=2026-11-22}}&amp;lt;/ref&amp;gt; Airflow 3 introduced the Task Execution Interface (AIP-72), which moves Airflow toward a client-server architecture with an API server and a Python Task SDK, along with Dag versioning, a new React-based user interface and event-driven scheduling on data assets.&amp;lt;ref&amp;gt;{{Cite web |url=https://airflow.apache.org/blog/airflow-three-point-oh-is-here/ |title=Apache Airflow 3 is Generally Available! |publisher=Apache Airflow blog |access-date=2026-11-22}}&amp;lt;/ref&amp;gt; The latest release on 22 November 2026 is Airflow 3.4.0, released on 6 November 2026.&amp;lt;ref&amp;gt;{{Cite web |url=https://airflow.apache.org/docs/apache-airflow/3.4.0/release_notes.html |title=Release Notes (Airflow 3.4.0) |publisher=Apache Software Foundation |access-date=2026-11-22}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Orchestrating Apache Spark ==&lt;br /&gt;
Airflow runs Spark through the &amp;lt;code&amp;gt;apache-airflow-providers-apache-spark&amp;lt;/code&amp;gt; provider package. Its latest version on 22 November 2026 is 6.3.4, published on 24 October 2026; it requires Airflow 2.11.0 or later and Python 3.11 or later.&amp;lt;ref&amp;gt;{{Cite web |url=https://pypi.org/project/apache-airflow-providers-apache-spark/ |title=apache-airflow-providers-apache-spark |publisher=Python Package Index |access-date=2026-11-22}}&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;pyproject&amp;quot;&amp;gt;{{Cite web |url=https://github.com/apache/airflow/blob/providers-apache-spark/6.3.4/providers/apache/spark/pyproject.toml |title=providers/apache/spark/pyproject.toml (tag providers-apache-spark/6.3.4) |publisher=Apache Airflow on GitHub |access-date=2026-11-22}}&amp;lt;/ref&amp;gt; Version 6.3.4 contains these operators:&amp;lt;ref name=&amp;quot;spark-ops&amp;quot; /&amp;gt;&amp;lt;ref name=&amp;quot;src&amp;quot;&amp;gt;{{Cite web |url=https://github.com/apache/airflow/tree/providers-apache-spark/6.3.4/providers/apache/spark/src/airflow/providers/apache/spark/operators |title=Spark provider operators (tag providers-apache-spark/6.3.4) |publisher=Apache Airflow on GitHub |access-date=2026-11-22}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Operator !! Module !! What it does&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;SparkSubmitOperator&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;operators.spark_submit&amp;lt;/code&amp;gt; || Wraps the &amp;lt;code&amp;gt;spark-submit&amp;lt;/code&amp;gt; binary to launch an application; the default connection is &amp;lt;code&amp;gt;spark_default&amp;lt;/code&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;SparkSqlOperator&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;operators.spark_sql&amp;lt;/code&amp;gt; || Runs a Spark SQL query through the &amp;lt;code&amp;gt;spark-sql&amp;lt;/code&amp;gt; binary.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;SparkJDBCOperator&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;operators.spark_jdbc&amp;lt;/code&amp;gt; || Extends &amp;lt;code&amp;gt;SparkSubmitOperator&amp;lt;/code&amp;gt; to move data between Spark and JDBC databases.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;PySparkOperator&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;operators.spark_pyspark&amp;lt;/code&amp;gt; || Runs a Python function that receives a Spark session, locally or against a [[Spark Connect]] server; also available as the &amp;lt;code&amp;gt;@task.pyspark&amp;lt;/code&amp;gt; decorator.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;SparkPipelinesOperator&amp;lt;/code&amp;gt; || &amp;lt;code&amp;gt;operators.spark_pipelines&amp;lt;/code&amp;gt; || Wraps the &amp;lt;code&amp;gt;spark-pipelines&amp;lt;/code&amp;gt; CLI to run or dry-run a [[Spark Declarative Pipelines]] project.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;PySparkOperator&amp;lt;/code&amp;gt; became available as an operator in provider 5.5.0, and &amp;lt;code&amp;gt;SparkPipelinesOperator&amp;lt;/code&amp;gt; was added in 5.6.0.&amp;lt;ref name=&amp;quot;changelog&amp;quot;&amp;gt;{{Cite web |url=https://github.com/apache/airflow/blob/providers-apache-spark/6.3.4/providers/apache/spark/docs/changelog.rst |title=Spark provider changelog (tag providers-apache-spark/6.3.4) |publisher=Apache Airflow on GitHub |access-date=2026-11-22}}&amp;lt;/ref&amp;gt; &amp;lt;code&amp;gt;SparkPipelinesOperator&amp;lt;/code&amp;gt; takes a &amp;lt;code&amp;gt;pipeline_spec&amp;lt;/code&amp;gt; path and a &amp;lt;code&amp;gt;pipeline_command&amp;lt;/code&amp;gt; of &amp;lt;code&amp;gt;run&amp;lt;/code&amp;gt; (the default) or &amp;lt;code&amp;gt;dry-run&amp;lt;/code&amp;gt;.&amp;lt;ref&amp;gt;{{Cite web |url=https://github.com/apache/airflow/blob/providers-apache-spark/6.3.4/providers/apache/spark/src/airflow/providers/apache/spark/operators/spark_pipelines.py |title=spark_pipelines.py (tag providers-apache-spark/6.3.4) |publisher=Apache Airflow on GitHub |access-date=2026-11-22}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The following Dag, for Airflow 3.4 with provider 6.3.4, checks a declarative pipeline with a dry run, runs it, and then submits a Spark application:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
from datetime import datetime&lt;br /&gt;
&lt;br /&gt;
from airflow.sdk import DAG&lt;br /&gt;
from airflow.providers.apache.spark.operators.spark_pipelines import SparkPipelinesOperator&lt;br /&gt;
from airflow.providers.apache.spark.operators.spark_submit import SparkSubmitOperator&lt;br /&gt;
&lt;br /&gt;
with DAG(&lt;br /&gt;
    dag_id=&amp;quot;lakehouse_daily&amp;quot;,&lt;br /&gt;
    schedule=&amp;quot;@daily&amp;quot;,&lt;br /&gt;
    start_date=datetime(2026, 11, 1),&lt;br /&gt;
    catchup=False,&lt;br /&gt;
):&lt;br /&gt;
    check = SparkPipelinesOperator(&lt;br /&gt;
        task_id=&amp;quot;pipeline_dry_run&amp;quot;,&lt;br /&gt;
        pipeline_spec=&amp;quot;/opt/pipelines/sales/spark-pipeline.yml&amp;quot;,&lt;br /&gt;
        pipeline_command=&amp;quot;dry-run&amp;quot;,&lt;br /&gt;
    )&lt;br /&gt;
    run = SparkPipelinesOperator(&lt;br /&gt;
        task_id=&amp;quot;pipeline_run&amp;quot;,&lt;br /&gt;
        pipeline_spec=&amp;quot;/opt/pipelines/sales/spark-pipeline.yml&amp;quot;,&lt;br /&gt;
    )&lt;br /&gt;
    report = SparkSubmitOperator(&lt;br /&gt;
        task_id=&amp;quot;build_report&amp;quot;,&lt;br /&gt;
        application=&amp;quot;/opt/jobs/build_report.py&amp;quot;,&lt;br /&gt;
    )&lt;br /&gt;
&lt;br /&gt;
    check &amp;gt;&amp;gt; run &amp;gt;&amp;gt; report&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Use in an open lakehouse ==&lt;br /&gt;
Airflow sits above the engines in an [[open lakehouse]]. It can order ingestion, transformation and maintenance jobs that run on Spark, [[Trino]] or other engines against tables in [[Apache Iceberg]] or [[Delta Lake]] format. With [[Spark Declarative Pipelines]], the division of work is that SDP orders the datasets inside one pipeline, while Airflow schedules the pipeline as a whole and connects it to work outside Spark.&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[Apache Spark]]&lt;br /&gt;
* [[Spark Declarative Pipelines]]&lt;br /&gt;
* [[Spark Connect]]&lt;br /&gt;
* [[Medallion architecture]]&lt;br /&gt;
* [[Open lakehouse]]&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&amp;lt;references /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{Navbox open lakehouse}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Pipelines and orchestration]]&lt;/div&gt;</summary>
		<author><name>Open Lakehouse Wiki sync</name></author>
	</entry>
</feed>