PrepCity

Lakehouse

Open the lab

By the last page, this is the design you will have built. Drag it, or Show all, to see every part.

Lesson · 9 pages · about 8 min

Lakehouse

Put an open table format (Apache Iceberg, Delta Lake) over the lake’s files: a write is all or nothing, old versions stay readable, columns can be added without rewriting files, and bronze, silver and gold are real tables.

What it is
A lakehouse is a data lake whose tables use an open table format: metadata files that list exactly which data files make up each version of a table, with a catalog pointing at the current one.
What it is for
Plain files give no transactions: readers see half-finished writes and compaction races with queries. A table format gives database-like guarantees on cheap object storage, readable by many engines.
Use it when
When many jobs write the same tables, people query them while they change, or you need history, deletes and schema changes on lake data.
Not when
For a few small tables one team queries in one tool, a managed warehouse may be simpler: it runs the compaction and clean-up for you.

Words you’ll learn

  • Data lake
  • Parquet
  • File compaction
  • Commit
  • Open table format
  • Snapshot
  • Manifest list
  • Spark
  • SQL
  • Schema evolution

Page by page