internalsGet Pro

Module 12 · Lesson 12 of 12Pro

Design: turning a data lake into a lakehouse

Level
Advanced
Topic
Data lakes and lakehouses
Reading time
30 min

When you finish this page you can

  1. Rank a lake’s tables for a move to Iceberg by the failures they cause and the readers they serve, and size the backfill.
  2. Backfill 13 months of files into an Iceberg table so that a rerun replaces a day instead of adding it again.
  3. Run the old and new paths side by side, compare them at a fixed boundary, and move readers one at a time with a rollback for each step.
  4. Walk through four failures of the move and say what each costs, who notices and how the design recovers.

Builds on 5 lessons

Start with lesson 112 min
  1. Data lakes: cheap storage and how they go wrong12 min
  2. Inside a table format: snapshots and transactions18 min
  3. Time travel and rollback for tables17 min
  4. Catalogs: sharing tables across engines17 min
  5. Streaming into Iceberg and Delta tables18 min

Two bad mornings in one week

is an online store in India. Its apps send about 200 million click events a day, and Debezium sends every change to its orders database. Meera, a data engineer, lands all of it as files in the S3 bucket kartly-raw-prod. Spark jobs, Snowflake, the ML team and analysts on DuckDB read those files directly.

Our biggest sale ever · Black Friday

Flat 50% Off

Pro

Continue reading

Unlock every course, now and later

  • System Design, live
  • AI Engineering, live
  • Data Engineering, live
  • Machine Learning Engineering, live
  • Inference Engineering, coming soon
  • AI Research, coming soon
  • Performance Engineering, coming soon
  • Agent & Harness Engineering, coming soon
  • LLM Fine-tuning, coming soon
  • LLM Pre-training & Post-training, coming soon
  • Reinforcement Learning, coming soon
  • AI Infrastructure & Platform Engineering, coming soon
  • AI Evaluation & Safety, coming soon
  • Forward Deployed Engineering, coming soon
  • Cloud Computing, coming soon
  • DevOps, coming soon

50% off · Annual and Lifetime

BLACKFRIDAY50Applied at checkout

Choose a plan