Short answer: both store tables as Delta files in OneLake, and both can be read with T-SQL. A lakehouse is written with Spark (notebooks, Python) and also holds plain files. A warehouse is written with T-SQL: inserts, updates, merges and multi-table transactions. Choose by who builds it: a Spark team builds lakehouses, a SQL team builds warehouses, and many solutions use both.
The two are less different than the names suggest, because they share the storage. What differs is which engine may write, and that follows the people more than the data.
What can each one do?
| Question | Lakehouse | Warehouse |
|---|---|---|
| Where is the data? | Delta tables in OneLake | Delta tables in OneLake |
| Who writes tables? | Spark: notebooks, Spark jobs | T-SQL: INSERT, UPDATE, MERGE, CTAS |
| Plain files (CSV, JSON, images)? | yes, in Files | no |
| T-SQL reads | yes, through its SQL analytics endpoint | yes |
| T-SQL writes | no | yes |
| Transactions over several tables | per table | yes |
| Direct Lake semantic model | yes | yes |
How do you choose?
A common split follows the bronze, silver and gold layers: bronze and silver in a lakehouse, because raw files land there and Spark cleans them; gold in a warehouse when the business logic is written in SQL by the BI team. A warehouse can read the lakehouse's tables in the same query:
INSERT INTO gold.fact_sales (OrderID, CustomerKey, Amount, OrderDate)
SELECT o.order_id, c.CustomerKey, o.amount, o.order_date
FROM SilverLakehouse.dbo.silver_orders AS o
JOIN gold.dim_customer AS c ON c.CustomerID = o.customer_id AND c.IsCurrent = 1;What goes wrong?
- Writing through the SQL analytics endpoint. A lakehouse's endpoint is read-only for tables; an
INSERTthere fails. Write with Spark, or use a warehouse. - Two copies of the same table. Gold in a warehouse should read silver, not copy it into the warehouse first.
- Choosing by data size alone. Both scale far; the team's language is the better guide.
Where can you check this?
- Microsoft Learn: Fabric decision guide: choose between warehouse and lakehouse
- Microsoft Learn: What is a lakehouse in Microsoft Fabric?
- Microsoft Learn: What is data warehousing in Microsoft Fabric?
Where do you start?
The open course A lakehouse in three layers builds the lakehouse side in your own workspace; the gold layer it ends with is the part you could also build in a warehouse.