Core Concepts
This page is the mental model behind Data Pipeline: what a pipeline spec is, how data moves through it, and how the platform keeps results correct. Each section links to the reference page with the full detail.
One spec, four blocks
A pipeline is a single YAML file. Data always flows the same way:
| Block | Role | Full detail |
|---|---|---|
sources | Read data in (tables, files, topics, APIs) | Sources |
builds | Join and shape source data into frames | Pipeline Spec Overview |
transforms | Filter, derive, aggregate, reshape | Transforms |
destinations | Write results out | Destinations |
The spec overview shows a complete annotated example.
How data flows
Every stage references data by its fully qualified name (FQN):
sources.<source>.<asset>- an asset (table, file set, topic, API call)builds.<build>- a build resulttransforms.<transform>- a transform result
Builds read from sources (or other builds); transforms read from builds (or earlier transforms); destination outputs read from builds or transforms - never directly from sources.
Batch and streaming
A spec declares mode: batch or mode: stream. What actually makes a pipeline streaming is a type: stream source (for example Kafka) - it reads with Spark structured streaming and runs until killed, while a batch run finishes on its own. See Batch vs Stream.
Where the platform remembers
Three mechanisms track "where a pipeline left off", and one rule covers all of them: everything commits only after a fully successful run.
| Mechanism | Used by | Detail |
|---|---|---|
Asset offset | incremental batch sources | Checkpoints and Offsets |
| Spark checkpoints | streaming pipelines | Checkpoints and Offsets |
| Step state | stateful batch transforms | Transforms |
Connections
Keep credentials out of the spec. Save a connection once and reference it with settings.connection_name; the platform resolves it at runtime. See Connections.
Runs
Every trigger creates an asynchronous run with a status (PENDING, RUNNING, SUCCESS, FAILED, CANCELLED) and one stage per block, with row counts and lineage samples. See Execution Lifecycle.
Schedules
Add a scheduler block and the pipeline runs on a cron schedule - one schedule per pipeline, with no automatic backfill of missed runs. See Schedules.
Related pages
- Pipeline Spec Overview - the spec field by field
- Architecture Overview - how the platform is built
- Introduction - what Data Pipeline is and why