Track 3 · Module 13

Model the business. Preserve the history.

Learn why a row needs a clear meaning, how customer changes affect old reports, and how a pipeline can recover without losing or duplicating work.

Before you begin

Complete Modules 10–12 and the SQL joins, windows and transaction foundations. Eleven lessons combine clear definitions, comparisons, examples and an ordered manual lab.

Create M13_LAB in lesson 7. Use an authorized role and warehouse; follow the lab in order with one writer. Run the intentional failure separately, then inspect the rollback before retrying. No backend or scheduled pipeline is created by this website.

Begin Module 13 →

Your lesson path

  1. Lesson 1 · About 22 min

    ETL, ELT and delivery frequency

    ETL transforms before loading the destination; ELT loads first and transforms there. Batch, micro-batch and streaming describe how work arrives and is processed.

    Read and practise →
  2. Lesson 2 · About 22 min

    Raw, curated and serving layers

    Layers separate original evidence, validated business data and consumer-ready outputs. Medallion names are useful labels, not a substitute for data contracts.

    Read and practise →
  3. Lesson 3 · About 22 min

    Facts, dimensions and the grain of a row

    A fact records a measurable business event at a declared grain. A dimension describes the people, products or places used to interpret that event.

    Read and practise →
  4. Lesson 4 · About 22 min

    Star schema, snowflake schema and Data Vault

    A model shape organizes relationships for a purpose. Choose a shape by its consumers, historical requirements and maintenance cost.

    Read and practise →
  5. Lesson 5 · About 22 min

    SCD Types 0, 1, 2 and 3

    Slowly changing dimensions describe how you keep—or deliberately discard—history when descriptive attributes change.

    Read and practise →
  6. Lesson 6 · About 22 min

    Watermarks, CDC and idempotent delivery

    A watermark records how far ingestion has safely processed a source. It must advance with committed output, not when a batch merely starts.

    Read and practise →
  7. Lesson 7 · About 22 min

    Create the customer-history lab

    Separate delivery evidence, accepted events, dimension versions and run metadata so each processing decision can be explained.

    Read and practise →
  8. Lesson 8 · About 22 min

    Apply an incremental Type 2 batch atomically

    The source window, accepted ledger, dimension history, watermark and successful-run audit must form one consistent commit.

    Read and practise →
  9. Lesson 9 · About 22 min

    Late-arriving data and safe backfill

    A late event belongs at its business effective time, not at the time it arrived. Rebuilding an affected timeline can split an existing interval.

    Read and practise →
  10. Lesson 10 · About 22 min

    Prove rollback, retry and data-quality invariants

    A reliable pipeline has observable failure behavior and checks that detect duplicate current rows, overlapping history and broken relationships.

    Read and practise →
  11. Lesson 11 · About 22 min

    Final lab: join sales to the correct historical city

    A temporal dimension join chooses the version valid at the fact’s event time. Its correctness is measured by both matching rows and preserved business totals.

    Read and practise →

Finish Track 3

Explain grain, choose a history policy, predict a late event’s effect and reconcile a retry. Track 4 continues with recovery, performance and cost; check availability on the roadmap.

Full curriculum →