Directed acyclic graph: nodes (tasks or datasets) joined by dependency edges with no loops. Lakeflow Jobs and Lakeflow pipelines execute the nodes in order of their dependencies, running as many in parallel as they can.
Also called directed acyclic graph.
Read more: Microsoft Learn
In the Ultra Transcenders books
Each book explains DAG in context, with comparison tables and the common traps.
Terms in this definition
- Dependency
Anything the design needs that is provided by a different team, vendor or system and lies outside its control, for example corporate DNS and NTP, a witness site or jumbo frames end to end. Each should be confirmed and tracked, since a dependency that may not arrive is a risk.
- Lakeflow Jobs
The orchestration product in Databricks, previously called Workflows. Each job contains at least one task, and the links between tasks make up a directed acyclic graph.
- Lakeflow Pipelines
Formerly Delta Live Tables, this framework has engineers state which datasets they want. Databricks then looks after orchestration, retries and much of the incremental processing.
- EXECUTE
Allows calling a function or loading a registered model in Unity Catalog, and seeing its definition.
USE CATALOGandUSE SCHEMAare needed too.
Related terms
- explode
Turns each element of a collection into its own row, in both SQL and Spark. It may be the cause when the Spark UI shows a DAG node taking in few rows and producing many more.
- Git-sync
With this option an Apache Airflow job keeps its DAG code in a Git repo rather than in storage that Fabric manages. Just two folders, dags and plugins, are kept in step, and editing in the built-in editor is no longer possible.