Track 05 · Core
Data Engineering
Move, model and trust data at scale: SQL and data modelling, batch and streaming pipelines, lakehouse tables, orchestration and data quality, and the pipelines that feed AI: training-data curation, deduplication and embeddings.
- Last updated
- Total effort
- 820 h · ≈ 82 weeks
Overview
Data engineering builds the systems that turn raw, messy data into reliable, well-modelled datasets that people and models can use. That means ingesting from databases, APIs and event streams; transforming with SQL and Spark; storing in warehouses and open lakehouse tables (Iceberg, Delta); orchestrating it all on a schedule or in real time; and proving it's correct with tests, contracts and monitoring. In the AI era the same craft feeds models: pre-training corpora are filtered and deduplicated at web scale, fine-tuning sets are curated and versioned, and RAG systems depend on chunking-and-embedding pipelines that must stay fresh.
Why it matters heading into 2027
Every AI system is only as good as its data, and companies have learned that the hard part of AI projects is usually the data plumbing. The WEF Future of Jobs 2025 report lists AI and big data as the fastest-growing skills, Indeed finds 45% of data and analytics postings now mention AI, and SQL rose to the #2 language in the 2026 Stack Overflow survey. Data engineering is also one of the most direct routes into ML and deep learning work, because data quality decides model quality.
- AI and big data top the fastest-growing skills; big-data specialists are among the fastest-growing roles. — WEF Future of Jobs 2025 (EU summary)
- 45% of data and analytics postings mention AI, against a 4.2% average across all postings. — Indeed Hiring Lab, Jan 2026
- SQL is now the #2 most-used language (58%) among developers. — Stack Overflow Developer Survey 2026
Prerequisites
- Python for scripting and data wrangling (pandas or polars).
- Basic SQL: SELECT, WHERE, GROUP BY, JOIN.
- Command line, Git and Docker basics (Software Engineering Beginner).
Learning path
How the stages build on each other, and where this track hands off to others.
flowchart TB
P["Prereqs: Python · basic SQL · Docker"] --> B
subgraph B["1 · Beginner — SQL & batch basics"]
direction LR
B1["advanced SQL"] --> B2["data modelling"] --> B3["ETL / ELT script"]
end
subgraph I["2 · Intermediate — pipelines"]
direction LR
I1["warehouse + dbt"] --> I2["orchestration"] --> I3["data quality tests"]
end
subgraph A["3 · Advanced — scale & streaming"]
direction LR
A1["Spark"] --> A2["lakehouse tables"] --> A3["Kafka streaming"] --> A4["CDC"]
end
subgraph E["4 · Expert — platforms & data for AI"]
direction LR
E1["data contracts"] --> E2["LLM corpus pipeline"] --> E3["embeddings pipeline"] --> E4["cost & governance"]
end
B --> I --> A --> E
E -.-> DL["Deep Learning: pre-training data"]
E -.-> ML["ML Engineering: features"]
A -.-> ARCH["Software Architecture"]
Stages
Tick items as you go — progress is saved in this browser only. Times are focused hours (reading + building); the week estimates follow the study time you pick above.
01Beginner100 h · ≈ 10 weeksBecome fluent in SQL and data modelling, and write your first reliable batch pipeline.
Key concepts
Build these
Ready for the next stage when…
02Intermediate180 h · ≈ 18 weeksBuild production-style pipelines: a cloud warehouse, dbt transformations, orchestration, and data-quality checks.
Key concepts
Build these
Ready for the next stage when…
03Advanced240 h · ≈ 24 weeksHandle scale and real time: distributed processing with Spark, open lakehouse tables, streaming with Kafka, and CDC.
Key concepts
Build these
Ready for the next stage when…
04Expert300 h · ≈ 30 weeksDesign data platforms and the pipelines that feed AI: data contracts and governance, LLM training-corpus curation, deduplication at scale, and embeddings pipelines for RAG.
Key concepts
Build these
Ready for the next stage when…
Field guide
The ideas behind the checklist, with diagrams and the math where it helps.
The modern data stack at a glance
Data flows from sources, through ingestion and storage, into transformations that produce trusted datasets for analytics and for AI.
flowchart TB
subgraph SRC["Sources"]
direction LR
S1["app databases"] --- S2["APIs / SaaS"] --- S3["event streams"] --- S4["files / web crawl"]
end
subgraph ING["Ingest"]
direction LR
I1["batch extract"] --- I2["CDC"] --- I3["Kafka"]
end
subgraph STORE["Store — lakehouse"]
direction LR
R["raw / bronze"] --> C["cleaned / silver"] --> G["modelled / gold"]
end
subgraph USE["Use"]
direction LR
U1["BI dashboards"] --- U2["ML features"] --- U3["LLM training sets"] --- U4["RAG embeddings"]
end
SRC --> ING --> STORE --> USE
ORCH["orchestration · quality checks · lineage"] -.-> ING
ORCH -.-> STORE
The medallion layers (bronze → silver → gold) are just a discipline: keep raw data immutable so you can always rebuild, clean in a separate step, and model for consumers last.
Idempotency is the whole game
A pipeline will be retried, backfilled and re-run by someone at 2 a.m. Design so that running it twice gives the same result as running it once:
- Overwrite partitions (e.g.
date=2026-11-07) instead of appending blindly. - Merge on a key (
MERGE INTO … ON id) for upserts. - Deduplicate on a stable event ID in streaming sinks.
-- Keep the latest version of each order, safe to re-run any time
CREATE OR REPLACE TABLE silver.orders AS
SELECT * EXCLUDE (rn)
FROM (
SELECT *,
ROW_NUMBER() OVER (PARTITION BY order_id ORDER BY updated_at DESC) AS rn
FROM bronze.orders_raw
)
WHERE rn = 1;
Batch, micro-batch or streaming?
| Requirement | Pick | Why |
|---|---|---|
| Daily reports, model retraining | Batch | Simplest and cheapest; easy backfills |
| Dashboards fresh within minutes | Micro-batch | Near-real-time with batch semantics |
| Fraud checks, live features, alerts | Streaming | Event-at-a-time; needs watermarks and state |
Streaming adds real complexity (state, late data, exactly-once effects), so choose it only when the freshness requirement is real.
Deduplication at web scale: MinHash
Training corpora contain huge numbers of near-duplicates (boilerplate, mirrors, templated pages), which waste compute and encourage memorisation. Comparing every pair of documents is impossible, so pipelines use MinHash.
Represent each document as a set of shingles (e.g. 5-word n-grams). The Jaccard similarity of two sets is
and for a random hash function , the probability that the minimum hash values match equals that similarity:
So a signature of min-hashes estimates cheaply. LSH banding then splits the signature into bands of rows; two documents become candidates if any band matches, which happens with probability
for similarity . Tuning and moves the S-shaped threshold, often to around . The FineWeb paper shows how much these choices matter for the final model.
Embeddings pipelines for RAG
A RAG index is a derived dataset and should be treated like one: versioned, tested and kept fresh.
flowchart LR
D["source docs<br/>(changed since last run)"] --> X["extract text<br/>+ metadata"] --> CH["chunk<br/>(+ contextual header)"] --> EM["embed<br/>(batch, versioned model)"] --> UP["upsert into vector index<br/>keyed by doc_id + chunk_no"]
DEL["deleted docs"] --> RM["delete their chunks"]
UP --> EV["retrieval evals<br/>recall@k on a fixed query set"]
Common failure modes are pipeline bugs, not model bugs: stale chunks from deleted documents, mixing vectors from two embedding-model versions, or chunking that splits tables in half. Key each chunk deterministically, store the embedding model version with it, and run a small retrieval eval after every re-index.
How this track connects
- ML Eng.Feature pipelines, training sets and model monitoring are data pipelines with stricter correctness needs.
- Deep LearningPre-training quality is mostly data quality: filtering, dedup and mixtures decide what a model learns.
- AI Eng.RAG is a data pipeline: chunking, embedding, indexing and keeping it fresh.
- ArchitectureLogs, replication, partitioning and exactly-once effects are shared distributed-systems ideas.
- Cloud & IAMPipelines run on cloud storage and compute with service accounts that should see only their own data.
References
Original sources first: arXiv, official docs, university courses and lab blogs. Every link was checked on 7 Nov 2026.
Foundational & seminal papers(7)
- Kafka: a Distributed Messaging System for Log Processing
Kreps, Narkhede & Rao · 2011 · people.csail.mit.edu
The original Kafka design: a partitioned, replicated log.
- Resilient Distributed Datasets: A Fault-Tolerant Abstraction for In-Memory Cluster Computing
Zaharia et al. · 2012 · usenix.org
The idea behind Spark: lineage-based fault tolerance.
- Efficient and robust approximate nearest neighbor search using Hierarchical Navigable Small World graphs
Malkov & Yashunin · 2016 · arxiv.org
HNSW, the index inside most vector databases.
- Sentence-BERT: Sentence Embeddings using Siamese BERT-Networks
Reimers & Gurevych · 2019 · arxiv.org
Where practical sentence embeddings for retrieval started.
- Delta Lake: High-Performance ACID Table Storage over Cloud Object Stores
Armbrust et al. · 2020 · vldb.org
How ACID transactions work on top of object storage.
- Lakehouse: A New Generation of Open Platforms that Unify Data Warehousing and Advanced Analytics
Armbrust et al. · 2021 · cidrdb.org
The argument for one open platform instead of lake + warehouse.
- The FineWeb Datasets: Decanting the Web for the Finest Text Data at Scale
Penedo et al. · 2024 · arxiv.org
A full, ablated recipe for building an LLM pre-training corpus.
Courses & videos(1)
- Data Engineering Zoomcamp
DataTalksClub · github.com
Free, hands-on: Docker, Terraform, warehouses, dbt, Spark, Kafka.
Books(3)
- Fundamentals of Data Engineering
Joe Reis & Matt Housley · 2022 · oreilly.com
The data-engineering lifecycle, tool-agnostic.
- Designing Data-Intensive Applications (2nd ed.)
Martin Kleppmann & Chris Riccomini · 2026 · dataintensive.net
Storage engines, replication, batch and stream processing explained deeply.
- The Data Warehouse Toolkit (3rd ed.)
Ralph Kimball & Margy Ross · 2013 · kimballgroup.com
The classic on dimensional modelling.
Articles, blogs & official docs(10)
- The Log: What every software engineer should know about real-time data's unifying abstraction
Jay Kreps · 2013 · web.archive.org
Why the log is the heart of data systems (archived copy).
- Apache Spark documentation
Apache · spark.apache.org
DataFrames, SQL, Structured Streaming and tuning.
- Apache Kafka documentation
Apache · kafka.apache.org
Topics, partitions, consumer groups and delivery semantics.
- Apache Iceberg documentation
Apache · iceberg.apache.org
Open table format: snapshots, schema evolution, hidden partitioning.
- Apache Hudi documentation
Apache · hudi.apache.org
A table format optimised for upserts and incremental processing.
- dbt documentation
dbt Labs · docs.getdbt.com
SQL transformations with tests, docs and lineage.
- Apache Airflow documentation
Apache · airflow.apache.org
The most widely used orchestrator.
- Dagster documentation
Dagster Labs · docs.dagster.io
Asset-centric orchestration with built-in lineage.
- DuckDB documentation
DuckDB · duckdb.org
In-process analytics; the fastest way to learn columnar SQL.
- Contextual Retrieval
Anthropic · 2024 · anthropic.com
Adding context to chunks before embedding; a data-pipeline fix for RAG quality.