Data Engineering
SQL mastery, data modeling, batch & streaming pipelines (Spark, Kafka, Flink), orchestration with Airflow/dbt, lakehouse formats, warehouse cost & performance.
What the job looks like
- Advanced SQL & query optimization
- Data modeling (star schemas, SCDs)
- Batch processing with Spark
- Streaming (Kafka, Flink)
- Orchestration & transformation (Airflow, dbt)
- Lakehouse & warehouse cost/performance
Roadmap and lessons
Open any lesson to read its first section.
- Stage 1SQL & modeling foundations
Write, optimize, and model with SQL at the level every data engineering loop screens first.
- Advanced SQL — Window functions (ROW_NUMBER, LAG, running sums), CTEs, anti-joins for gap detection, QUALIFY. Deduplication and sessionization in pure SQL are the classic screens.
- Query plans & optimization — Read EXPLAIN: scan vs seek, join order, spilling, partition pruning. Knowing why a query is slow separates engineers from SQL writers.
- Dimensional modeling (Kimball) — Facts vs dimensions, star vs snowflake, grain declaration first, conformed dimensions, degenerate dimensions. "Design the schema for orders analytics" is a guaranteed question.
- Slowly changing dimensions — SCD Type 1 (overwrite), 2 (row versioning with valid_from/valid_to + current flag), 3 (previous-value column) — and how Type 2 answers "what did we know then?".
- Stage 2Storage & file formats
Choose and tune the physical layer — where most cost and performance wins actually live.
- Columnar storage & Parquet — Row groups, column chunks, dictionary/RLE encoding, predicate pushdown via min/max stats. Why analytics scans columns and OLTP reads rows.
- Partitioning & file layout — Partition by query pattern (usually date), avoid high-cardinality partitions, target ~128MB-1GB files. The small-files problem quietly kills both S3 listings and Spark planning.
- Open table formats (Iceberg / Delta) — ACID on object storage: snapshot isolation, schema evolution, hidden partitioning (Iceberg), time travel, compaction/OPTIMIZE. The layer that turned data lakes into lakehouses.
- Stage 3Batch processing with Spark
Build and debug distributed batch jobs — shuffles, skew and memory, not just DataFrame syntax.
- Spark execution model — Jobs → stages → tasks, narrow vs wide transformations, why shuffles create stage boundaries, AQE. The Spark UI is the interview whiteboard.
- Joins, skew & salting — Broadcast vs sort-merge joins, detecting skew from straggler tasks, salting hot keys, AQE skew-join handling. The single most asked Spark debugging scenario.
- Memory & partition tuning — Executor memory layout, spill to disk, partition sizing (aim ~100-200MB per task), repartition vs coalesce, caching honestly. "Why did it OOM?" has about five answers — know them.
- Incremental & idempotent pipelines — Full refresh vs incremental merge, watermark columns, MERGE INTO, dedup on natural keys. Every pipeline must be safely re-runnable — interviewers check this unprompted.
- Stage 4Streaming systems
Move from daily batches to event streams with correct semantics under failure.
- Kafka fundamentals — Topics, partitions as the unit of parallelism, consumer groups, offsets, keys and ordering guarantees, retention & compaction. Partition-count choices haunt you for years.
- Delivery semantics — At-least-once + idempotent sink as the workhorse; exactly-once via transactions/2PC and what it costs. Explain where duplicates come from (producer retries, rebalances) and where you kill them.
- Stream processing (Flink / Spark Structured Streaming) — Event time vs processing time, watermarks and allowed lateness, windowing (tumbling/sliding/session), stateful operators and checkpoints. Late data handling is the depth probe.
- Change data capture — Log-based CDC (Debezium) vs query-based polling, initial snapshot + stream, ordering per key, applying upserts/deletes to the lakehouse. The standard OLTP-to-analytics bridge.
- Stage 5Orchestration, transformation & quality
Turn scripts into an operated platform: scheduled, tested, documented, lineage-tracked.
- Airflow orchestration — DAGs, data-interval-aware scheduling, idempotent task design, backfills, sensors vs deferrable operators, SLA alerts. "How do you backfill 6 months safely?" is a favorite.
- dbt & analytics engineering — Models as SELECTs, ref() dependency graph, incremental materializations, snapshots (SCD2 for free), tests and docs. The de facto transform layer of the modern stack.
- Data quality & contracts — Not-null/unique/accepted-values/freshness checks (dbt tests, Great Expectations), anomaly detection on volume, quarantine patterns, data contracts with producers. Quality is checked in-pipeline, not discovered in dashboards.
- Lineage & cataloging — Column-level lineage (OpenLineage, dbt docs), impact analysis before dropping a column, ownership and discovery via catalogs (DataHub/Amundsen). What "governance" concretely means day to day.
- Stage 6Warehouse cost & performance
Run Snowflake/BigQuery/Redshift fast AND cheap — the skill senior JDs increasingly lead with.
- Warehouse architectures compared — Snowflake (separated compute/storage, micro-partitions), BigQuery (serverless slots, on-demand vs capacity pricing), Redshift (dist/sort keys). Pricing models drive different optimizations.
- Warehouse performance tuning — Clustering/sort keys, partition pruning, materialized views, avoiding SELECT * on wide tables, result caching. Read the query profile before adding compute.
- FinOps for data platforms — Per-query and per-pipeline cost attribution, auto-suspend warehouses, storage lifecycle policies, killing zombie tables and unused dashboards. Seniors are asked what they saved, with numbers.
Portfolio projects
The full modern pipeline: event generator → Kafka → stream ingestion to Iceberg/Delta bronze → Spark silver/gold with dbt-style modeling → a dashboard. One repo that proves you can build the whole spine of a data platform.
A dbt project over a free warehouse tier (BigQuery sandbox / DuckDB) modeling a business domain properly: staging → marts star schema, SCD2 snapshots, tests, docs and CI. The artifact analytics-engineering interviews ask to see.
A lightweight data-observability tool: profiles tables on a schedule, learns baselines, and alerts on freshness, volume and schema drift. Shows you think about pipelines as production systems that fail silently unless watched.
Skills you build
What you get
- Free with an account: stage 1, previews of every lesson, the roadmap and your study plan