← Playbook
03 · Model once, generate pipelines

Write the model once. Let code write the pipelines.

One canonical model drives every pipeline, so lineage and quality checks come built in.

The problem

Hand-built pipelines drift. Each one names things, checks quality and tracks lineage a little differently, and the differences add up until nobody trusts the data.

The move

  1. 1Model it onceEntities, keys and data quality severity are defined in one canonical model.
  2. 2Generate the pipelinesA code generator turns the model into pipelines, so nobody writes them by hand.
  3. 3Prove it in CICI regenerates the pipelines and fails if anything differs from what was committed.
  4. 4PublishDomains source governed datasets from one shared foundation.

Why it works

  • Consistency is built in, not reviewed in.
  • A change to the model reaches every pipeline at once.
  • New datasets inherit lineage, quality checks and schema evolution by default.

When not to use it

Coming soonWhen a hand-written pipeline is still the right call.

Seen in