Index

Free, with Google

Keep going, free.

A free account opens lessons 2 and 3 of every track, 33 more lessons, and keeps your progress and review cards on every device.

Start free with Google

A chalk plan

Open everything on chalk.

Every lesson, board, video, lab and paper, and the full review decks. Yearly is $39/year.

See plansStart free instead

Module 03 · Data Systems · Data in motion · about 17 min to read

Play it as a journeyTutor comes with a plan

From raw to trusted: ETL, ELT and the data pipeline

Batch Processing
Batch Processing · Open board

The board for batch work: read a big pile of data, run a job over it, write a new pile. A pipeline is many such jobs, joined in a fixed order.

Before you start. Batch Processing gave you the batch job: read everything, compute, write a new output, and run it again if it breaks. Where Data Systems Are Heading gave you the log and the derived view: a copy that is only a function of its source, so it can be thrown away and rebuilt. Storage Extras: richer indexes, warehouse schemas, column tricks gave you the warehouse, one big database used for reports.

Lesson 23 of 24 in Data Systems

The rest of this lesson is part of a plan.

A plan opens every lesson, board, video, lab and paper on chalk. Yearly is $39/year.

See plansAlready a member? Sign in

Or start free: a free account opens lessons 2 and 3 of every track.

In this lesson

  • Monday, 9:00: two reports, two answers
  • Raw, then clean, then trusted
  • ETL and ELT: where the cleaning happens
  • The DAG: steps that wait for each other
  • Tests: a query that must return no rows
  • A customer moves: the slowly changing dimension
  • Lineage and contracts: who made this number, and who promised it
  • The DAG and a valid order
  • Idempotency: a rerun must not double anything
  • Incremental models and the cost of full refresh
  • Slowly changing dimensions: the three common types
  • Contracts and schema change
  • The code
  • Real systems and trade-offs

Terms it explains: data pipeline, raw layer, ETL, ELT, task, DAG, data test, type 1, type 2, slowly changing dimension, Lineage, data contract, Common mistakes, idempotent, batch vs service vs stream, bounded input, dataflow engine (Spark/Flink), distributed filesystem (HDFS), map-side (broadcast hash) join, MapReduce, materialization, RDD / lineage, reduce-side (sort-merge) join, salting, shuffle, skew, Unix pipe, workflow/DAG.

Related papers

Review Data Systems