Data lake, warehouse, and lakehouse
Data Warehousing · 11 questions
Short notes
Key idea
A data lake stores any file cheaply in object storage. A warehouse stores structured tables optimised for SQL. A lakehouse adds warehouse features (tables, transactions, schemas) on top of lake files using open table formats.
Syntax
- Lake: files in GCS or S3 (CSV, JSON, Parquet, images). Cheap, flexible, no schema enforced.
- Warehouse: BigQuery, Snowflake, Redshift. Fast SQL, managed, schema-on-write.
- Lakehouse: Delta Lake, Apache Iceberg or Hudi tables on object storage; ACID updates, time travel; queried by Spark or warehouse engines.
Example
Clickstream JSON lands in a GCS bucket (lake). Spark converts it to partitioned Parquet in a Delta table (lakehouse). Daily summaries load into BigQuery for dashboards (warehouse). Many teams use all three.
Traps
- A lake without catalogue or ownership becomes a "data swamp".
- Small files (thousands of KB-size files) make lake queries slow; compact them.
- CSV in a lake loses types; prefer Parquet.
- Choosing by hype: pick by team skills, data size and the queries you need.
Want the full lesson with step-by-step examples, a project and a certificate? Data Warehousing course, ₹120 →
Questions
5 free questions- Question 1easy
What does "schema on read" mean?
- Question 2medium
What does a lakehouse table format like Delta or Iceberg add to files in a lake?
- Question 3easy
On GCP, which service is typically the data lake, and which the warehouse?
- Question 4medium
Your lake has thousands of files no one can explain. What's missing?
- Question 5easy
Which best describes a data lake?
Data lake, warehouse, and lakehouse
Data lake, warehouse, and lakehouse
Data lake, warehouse, and lakehouse
Data lake, warehouse, and lakehouse
Data lake, warehouse, and lakehouse
6 more questions on this topic, with hints, and tests
Sign up free for 21 days of every question and test.