Skip to main content
Beginnercomparison

What is the difference between a data lakehouse and a data warehouse?

ReportedSource: Exponent: Databricks interview process and questions

Quick answer

Warehouse: curated structured data in managed storage, SQL/BI-optimised. Lake: cheap files of any type, no transactions. Lakehouse: open table format (Delta/Iceberg/Hudi) adds ACID, schema enforcement, time travel and performance features on lake storage so one copy serves BI and ML.

Data warehouse. Structured, curated data loaded into a proprietary managed storage format, queried with SQL. Strong ACID guarantees, schemas enforced on write, excellent BI performance. Less suited to unstructured data and ML workloads, and data must be copied in.

Data lake. Cheap object storage (S3, ADLS, GCS) holding files of any type (Parquet, JSON, images). Flexible and inexpensive, but on its own lacks transactions, schema enforcement and fast indexing, which leads to the "data swamp" problem.

Lakehouse. Puts warehouse features on top of lake storage using an open table format (Delta Lake, Apache Iceberg, Apache Hudi):

  • ACID transactions through a transaction log over Parquet files;
  • schema enforcement and evolution, time travel;
  • data skipping statistics, compaction and clustering for SQL performance;
  • one copy of data serving BI, data engineering, streaming and ML.

Trade-offs to mention. A lakehouse reduces copies and lock-in; a classic warehouse can still be simpler for pure BI teams. Governance (catalogs such as Unity Catalog) is needed either way.

Discussion