Data Engineering Fundamentals / Chapter 1 — The Big Picture (lessons 1–5) / Lesson 1

What Data Engineers Do

Time needed: about 6 min (estimate)

☆ Read later

You can try the opening of this lesson without an account.

What you'll build in this course

In this course you become the data person at Komugi Bakery, a made-up bakery. It has two stores, and every night the register (POS) exports the day's lines as CSV. In Chapter 2, a third store and an online-order API join in. What the owner wants each morning is: which store sold what, and for how much, yesterday? Over 30 lessons, you'll build one system that answers that by 7 a.m. every morning, with the right numbers.

Map of all 30 lessons

Ch.1 The big picture SQL in DuckDB, reading files, Parquet, raw / staging / mart Ch.2 Ingestion dirty CSVs, paging an API, incremental loads, re-runs, schema changes Ch.3 Transforming (dbt) models and ref, staging models, incremental models, macros Ch.4 Data quality dbt test, referential integrity, freshness, data contracts, anomalies Ch.5 Scheduling cron, wiring dependencies in Dagster, retries and alerts, backfills, run logs Ch.6 Delivering star schemas, SCD Type 2, BI and performance, adding a new source

Same data, different numbers

The most common accident in data work isn't an error. It's a different number showing up without a sound. In the code below, Alex and Blake each compute sales from the same Oct 1 lines. The lines include one that was voided at the register and one that arrived twice because of a network hiccup. Run it and compare their numbers.

editor.py

Tab indents. To leave the editor, press Esc, then Tab.

Create a free account to keep reading

With an account you can read the rest of this lesson, take the quiz, and read every free lesson in this course. Lessons you answer correctly are recorded as complete.

Report a problem with this lesson

Log in to send a report.

Keyboard shortcuts

Keys available in a lesson
KeyAction
[ or Alt + ←Go to the previous lesson
] or Alt + →Go to the next lesson
?Open this list
EscClose this list

The keys do not work while the cursor is in a code editor or an input field.