TECHNOLOGIESTieInn Technologies

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
5 questions

    Data lake, warehouse, and lakehouse

  1. Question 1easy

    What does "schema on read" mean?

  2. Data lake, warehouse, and lakehouse

  3. Question 2medium

    What does a lakehouse table format like Delta or Iceberg add to files in a lake?

  4. Data lake, warehouse, and lakehouse

  5. Question 3easy

    On GCP, which service is typically the data lake, and which the warehouse?

  6. Data lake, warehouse, and lakehouse

  7. Question 4medium

    Your lake has thousands of files no one can explain. What's missing?

  8. Data lake, warehouse, and lakehouse

  9. Question 5easy

    Which best describes a data lake?

6 more questions on this topic, with hints, and tests

Sign up free for 21 days of every question and test.