|
| 1 | +--- |
| 2 | +layout: article |
| 3 | +title: "Airflow: Where It Fits in Data Engineering, Pipelines, and the Modern Data Stack" |
| 4 | +keyword: "airflow" |
| 5 | +summary: "A podcast-backed guide to Airflow as a data orchestration tool: what it does, when teams need it, and how it compares with adjacent choices such as dbt, Airbyte, Prefect, Dagster, GitHub Actions, and feature-store workflows." |
| 6 | +related_wiki: |
| 7 | + - Data Engineering |
| 8 | + - Data Engineering Platforms |
| 9 | + - Modern Data Stack |
| 10 | + - DataOps |
| 11 | + - Data Quality and Observability |
| 12 | + - Batch vs Streaming |
| 13 | +--- |
| 14 | + |
| 15 | +Airflow is a workflow orchestration tool for data teams. It schedules jobs, |
| 16 | +coordinates dependencies, runs retries, and shows whether a pipeline finished |
| 17 | +or failed. |
| 18 | + |
| 19 | +DataTalks.Club guests treat Airflow as part of data engineering, not as the |
| 20 | +whole stack. They mention it with ingestion tools, warehouses, and dbt-style |
| 21 | +transformations. Feature stores, ML platforms, observability, and team |
| 22 | +conventions show up around it too. The practical question isn't "Should we use |
| 23 | +Airflow?" It's "Do we have enough recurring data work that an orchestrator will |
| 24 | +make the system easier to operate?" |
| 25 | + |
| 26 | +Start with [Data Engineering]({{ '/wiki/data-engineering/' | relative_url }}) |
| 27 | +and [Data Engineering Platforms]({{ '/wiki/data-engineering-platforms/' | relative_url }}). |
| 28 | +Use [Modern Data Stack]({{ '/wiki/modern-data-stack/' | relative_url }}) and |
| 29 | +[DataOps]({{ '/wiki/dataops/' | relative_url }}) for the adjacent operating |
| 30 | +model. |
| 31 | + |
| 32 | +## Search Intent |
| 33 | + |
| 34 | +People searching for "airflow" usually want to know what Apache Airflow does |
| 35 | +and whether they need it for data pipelines. Some are choosing between Airflow, |
| 36 | +Prefect, Dagster, and GitHub Actions. Others are comparing cloud schedulers, |
| 37 | +dbt jobs, and managed ML pipeline services. New data engineers may also want to |
| 38 | +know why Airflow appears in job descriptions. |
| 39 | + |
| 40 | +Use this page for the practical intent. It explains where Airflow fits, which |
| 41 | +problems it solves, and which adjacent choices show up in the podcast archive. |
| 42 | + |
| 43 | +## Airflow Jobs |
| 44 | + |
| 45 | +Airflow gives data workflows a control plane. A team can define a directed |
| 46 | +workflow and schedule it. It can connect tasks, retry failures, and look at run |
| 47 | +history. |
| 48 | + |
| 49 | +That makes Airflow useful when work has dependencies. |
| 50 | + |
| 51 | +- extract data from a source system |
| 52 | +- load raw data into a warehouse, lake, or lakehouse |
| 53 | +- run transformations or dbt jobs |
| 54 | +- check data quality |
| 55 | +- backfill historical partitions |
| 56 | +- publish a data mart, dashboard table, feature table, or reverse ETL sync |
| 57 | +- run batch model training or batch inference |
| 58 | + |
| 59 | +Airflow is often discussed with ETL and ELT, but it isn't the transformation |
| 60 | +logic. In the modern stack episode, Natalie Kwong positions Airflow as the |
| 61 | +orchestrator that schedules and runs other pieces. Those pieces include |
| 62 | +Airbyte jobs and downstream transformations. |
| 63 | + |
| 64 | +That distinction matters because Airflow coordinates the pipeline, while SQL |
| 65 | +or dbt may run the work. Spark and Python can do the work too, as can Airbyte, |
| 66 | +warehouses, and ML platforms. |
| 67 | + |
| 68 | +## Modern Stack Fit |
| 69 | + |
| 70 | +A common modern analytics flow looks like this: |
| 71 | + |
| 72 | +1. Ingestion brings data from APIs, SaaS tools, databases, event streams, or |
| 73 | + files into raw storage. |
| 74 | +2. A warehouse, lake, or lakehouse stores data for analytics and downstream |
| 75 | + systems. |
| 76 | +3. Transformations clean, join, model, and document the data. |
| 77 | +4. Orchestration schedules and coordinates those jobs. |
| 78 | +5. Data quality and observability check freshness, schema, volume, and |
| 79 | + downstream impact. |
| 80 | +6. BI, ML, reverse ETL, product analytics, or operational tools consume the |
| 81 | + result. |
| 82 | + |
| 83 | +Airflow usually belongs in step 4. It can call the ingestion job, trigger the |
| 84 | +dbt project, wait for upstream tables, and run validation tasks. It can also |
| 85 | +alert the owner when a dependency fails. |
| 86 | + |
| 87 | +Modern data stack guests make this split clear. Airbyte handles extract-load |
| 88 | +work, dbt handles transformations, and warehouses or lakes store data. |
| 89 | +Airflow coordinates the moving parts. Reverse ETL tools push modeled data back |
| 90 | +into business systems when the workflow needs activation. |
| 91 | + |
| 92 | +See [Data Engineering Tools]({{ '/articles/data-engineering-tools/' | relative_url }}) |
| 93 | +for the broader tool map and |
| 94 | +[Batch vs Streaming]({{ '/wiki/batch-vs-streaming/' | relative_url }}) for the |
| 95 | +latency tradeoff behind many orchestration decisions. |
| 96 | + |
| 97 | +## Good Fit |
| 98 | + |
| 99 | +Airflow becomes useful when pipelines are no longer a few isolated scripts. |
| 100 | + |
| 101 | +Common triggers include these cases: |
| 102 | + |
| 103 | +- multiple recurring jobs with dependencies |
| 104 | +- backfills that must run in a controlled order |
| 105 | +- shared pipelines that several teams rely on |
| 106 | +- data quality checks that should block or warn before publication |
| 107 | +- pipeline failures that need run history and ownership |
| 108 | +- batch ML jobs that need the same repeatable schedule as analytics pipelines |
| 109 | +- platform teams that need conventions for many similar pipelines |
| 110 | + |
| 111 | +In the scale-up data engineering episode, Mehdi OUAZZA argues that an Airflow |
| 112 | +cluster alone isn't a platform. Teams also need naming conventions and |
| 113 | +sequencing rules. Reusable templates, playbooks, and operating habits matter |
| 114 | +too. |
| 115 | + |
| 116 | +His point is useful for Airflow adoption. The tool helps once the team also |
| 117 | +invests in how pipelines are structured and maintained. |
| 118 | + |
| 119 | +That's where Airflow connects to [DataOps]({{ '/wiki/dataops/' | relative_url }}). |
| 120 | +Retries and scheduling are only part of reliable data delivery. Teams still |
| 121 | +need version control, tests, CI/CD, and realistic test data. They also need |
| 122 | +observability, runbooks, and clear ownership. |
| 123 | + |
| 124 | +## Too Much |
| 125 | + |
| 126 | +Airflow isn't always the right first tool, and podcast guests give the same |
| 127 | +advice. Start from the workflow and operating need, not from the most |
| 128 | +recognizable tool name. |
| 129 | + |
| 130 | +Andreas Kretz's production pipeline discussion gives a clear sequence. A team |
| 131 | +can start with a simpler queue, script, cloud function, or scheduled job when |
| 132 | +it's proving a first workflow. As the project grows and needs more logging, |
| 133 | +visibility, and control, moving to Airflow or a similar orchestrator makes more |
| 134 | +sense. |
| 135 | + |
| 136 | +Adrian Brudaru's modern data engineering episode makes a similar point for |
| 137 | +2025 tooling. He names Airflow as a common choice, but also mentions Prefect, |
| 138 | +Dagster, and GitHub Actions. For simple workflows, GitHub Actions can be |
| 139 | +enough, especially when an always-on orchestrator would add cost without adding |
| 140 | +much value. |
| 141 | + |
| 142 | +Use a smaller scheduler in these cases: |
| 143 | + |
| 144 | +- the workflow is a single daily script |
| 145 | +- there are few dependencies |
| 146 | +- failures are easy to rerun manually |
| 147 | +- no team needs shared run history |
| 148 | +- cloud-native scheduled jobs already cover the use case |
| 149 | +- the cost of running and maintaining Airflow is larger than the pipeline risk |
| 150 | + |
| 151 | +Use Airflow or another orchestrator when dependencies and ownership become hard |
| 152 | +to manage informally. Backfills, auditability, and shared operations push in |
| 153 | +the same direction. |
| 154 | + |
| 155 | +## Airflow vs dbt |
| 156 | + |
| 157 | +dbt mainly transforms data through SQL-oriented models and also provides tests, |
| 158 | +documentation, and dependency graphs. Airflow is mainly about orchestrating |
| 159 | +jobs. |
| 160 | + |
| 161 | +Many teams use both because dbt defines analytical transformations and Airflow |
| 162 | +schedules the surrounding work. That work can include ingestion, transforms, |
| 163 | +checks, and publication. |
| 164 | + |
| 165 | +In the modern data stack episode, dbt is tied to analytics engineering and |
| 166 | +warehouse transformations. Airflow is discussed as the scheduler and |
| 167 | +orchestrator around those components. |
| 168 | + |
| 169 | +## Airflow vs Airbyte |
| 170 | + |
| 171 | +Airbyte handles extract-load connector work. Airflow can trigger or coordinate |
| 172 | +Airbyte jobs as part of a larger pipeline. Natalie Kwong describes this setup |
| 173 | +directly: Airflow integrates with Airbyte so teams can orchestrate the extract |
| 174 | +and load step inside a broader workflow. |
| 175 | + |
| 176 | +The useful separation is simple: Airbyte moves data from sources, while Airflow |
| 177 | +decides when that movement and related downstream jobs should run. |
| 178 | + |
| 179 | +## Airflow vs Prefect and Dagster |
| 180 | + |
| 181 | +The archive doesn't present one orchestrator as universally best, and Adrian |
| 182 | +Brudaru frames the choice as team-dependent. Airflow remains common, while |
| 183 | +Prefect and Dagster are popular alternatives. GitHub Actions can be enough for |
| 184 | +small or cost-sensitive workflows. |
| 185 | + |
| 186 | +Antonis Maronikolakis, discussing a course project, describes Prefect as an |
| 187 | +easier Airflow alternative for the project he wanted to build. That doesn't |
| 188 | +make a general rule against Airflow. It's a useful reminder that developer |
| 189 | +experience and project size matter. |
| 190 | + |
| 191 | +## Airflow and Feature Stores |
| 192 | + |
| 193 | +Feature-store discussions show Airflow as part of the upstream data |
| 194 | +infrastructure. Willem Pienaar explains that Feast doesn't own upstream |
| 195 | +transformations. Teams often keep those transformations in dbt, Airflow, or |
| 196 | +Spark jobs. They then feed transformed data into the feature store. |
| 197 | + |
| 198 | +Tecton can take more of that workflow into the feature platform. That creates |
| 199 | +a build versus adopt decision for existing teams. |
| 200 | + |
| 201 | +This matters for ML teams because batch features, backfills, and online serving |
| 202 | +often cross tool boundaries. Airflow may orchestrate upstream feature |
| 203 | +pipelines, but it isn't the feature store. |
| 204 | + |
| 205 | +## Airflow and ML Platforms |
| 206 | + |
| 207 | +Simon Stiebellehner's ML platform episode connects Airflow to batch training |
| 208 | +and batch inference. A batch model workflow often looks like a sequence of data |
| 209 | +loading, preprocessing, and feature engineering. Training or inference comes |
| 210 | +next, followed by output storage. Airflow can coordinate that sequence, but |
| 211 | +managed ML pipelines or cloud-specific tooling may do the same job depending on |
| 212 | +the team's platform strategy. |
| 213 | + |
| 214 | +For ML platform teams, the decision isn't just "Airflow or no Airflow." It's |
| 215 | +whether the platform should standardize repeated workflows or leave teams more |
| 216 | +flexibility. |
| 217 | + |
| 218 | +## Learning Path |
| 219 | + |
| 220 | +For learners, Airflow is most useful after the basics are clear. |
| 221 | + |
| 222 | +Data engineering career guidance in the archive keeps returning to these |
| 223 | +fundamentals: |
| 224 | + |
| 225 | +- SQL and Python |
| 226 | +- files, APIs, and database sources |
| 227 | +- batch pipeline design |
| 228 | +- warehouses, lakes, and lakehouses |
| 229 | +- data modeling and transformations |
| 230 | +- testing and data quality |
| 231 | +- cloud basics and deployment |
| 232 | +- logs, alerts, retries, and ownership |
| 233 | + |
| 234 | +Airflow should make a pipeline more operable. It can't rescue a workflow whose |
| 235 | +source data, transformations, ownership, or downstream purpose is unclear. |
| 236 | + |
| 237 | +For a portfolio project, avoid adding Airflow only as decoration. A stronger |
| 238 | +project shows why orchestration is needed through dependencies, retries, and |
| 239 | +backfills. It should also include data quality checks, alerts, and a short |
| 240 | +runbook. |
| 241 | + |
| 242 | +## Podcast Evidence |
| 243 | + |
| 244 | +[Data Engineering Tools and Modern Data Stack](https://datatalks.club/podcast.html) |
| 245 | +is the clearest Airflow explanation in the archive. Natalie Kwong discusses |
| 246 | +ETL, ELT, Airbyte, and dbt. She also covers warehouses, data lakes, |
| 247 | +orchestration, and reverse ETL. Her Airflow framing is practical. It schedules |
| 248 | +and orchestrates jobs around the stack rather than replacing ingestion or |
| 249 | +transformation tools. |
| 250 | + |
| 251 | +[Scaling Data Engineering Teams](https://datatalks.club/podcast.html) |
| 252 | +adds the platform view. Mehdi OUAZZA argues that Airflow is only one piece of a |
| 253 | +usable data platform. Teams need conventions, templates, playbooks, and |
| 254 | +operating rules so pipelines remain maintainable as more users build on the |
| 255 | +platform. |
| 256 | + |
| 257 | +[Modern Data Engineering Trends](https://datatalks.club/podcast.html) |
| 258 | +adds the current tool-choice caution. Adrian Brudaru names Airflow, Prefect, |
| 259 | +Dagster, and GitHub Actions as orchestration options and ties the decision to |
| 260 | +team needs and cost. |
| 261 | + |
| 262 | +[From Notebooks to Production](https://datatalks.club/podcast.html) |
| 263 | +shows when not to overbuild. Andreas Kretz describes starting with simpler |
| 264 | +workflow coordination and moving toward Airflow or similar tooling as a system |
| 265 | +needs more insight and operational control. |
| 266 | + |
| 267 | +[Building Production ML Platforms](https://datatalks.club/podcast.html) |
| 268 | +connects orchestration to ML workflows. Simon Stiebellehner discusses batch |
| 269 | +training and batch inference as sequences of jobs that can be coordinated with |
| 270 | +Airflow or managed pipeline services. |
| 271 | + |
| 272 | +[Feature Stores for MLOps](https://datatalks.club/podcast.html) |
| 273 | +shows the adjacent feature-store boundary. Willem Pienaar explains that tools |
| 274 | +such as Feast often consume transformed data from upstream systems like dbt, |
| 275 | +Airflow, or Spark. Other platforms may own more of the transformation and |
| 276 | +backfill workflow. |
| 277 | + |
| 278 | +## Bottom Line |
| 279 | + |
| 280 | +Airflow is best understood as orchestration infrastructure for recurring, |
| 281 | +dependent data work. It helps teams schedule and coordinate pipelines, handles |
| 282 | +retries and backfills, and adds visibility. It fits modern data stacks, |
| 283 | +analytics engineering workflows, DataOps practices, and batch ML systems. |
| 284 | + |
| 285 | +It's not a replacement for ingestion, transformation, storage, or data quality. |
| 286 | +It also doesn't replace platform conventions. Guests give a consistent rule: |
| 287 | +choose Airflow when the workflow needs a real control plane. Keep simpler |
| 288 | +schedulers or managed tools in play when the workflow doesn't justify the extra |
| 289 | +operating burden. |
0 commit comments