Data & AI glossary

DAG

A directed acyclic graph: the list of tasks in a data job and the order in which they run, without ever looping back.

IN PRACTICE

The route map of a pipeline.

DAG stands for “directed acyclic graph”. In Airflow, each pipeline is a DAG: a Python file that declares tasks and their dependencies. “Acyclic” means no task can depend on itself, even indirectly. There is therefore always a start and an end.

Example: every morning, extract yesterday’s orders, load them into the warehouse, run the transformations, then refresh the dashboard. If the load fails, the following tasks do not start and the team is alerted.

The misconception: that the DAG carries the data. It only describes the order of operations. And a single DAG that does everything soon becomes unreadable: it is better to have one DAG per subject. See also orchestration.

WHAT COMES NEXT, WE BUILD TOGETHER

Your next project
starts with a conversation.

An idea, a pain point, a project to kick off? Let’s talk about what would make a difference for your teams.

Let’s talk about your project