OneLake, Lakehouse, Warehouse and the SQL analytics endpoint
NWOrders NWOrderLines NWCustomers NWProducts- Why it matters
- Choosing the right store decides who can build on it (SQL people, Spark people, analysts), how security works and which Direct Lake option you can use.
- Typical production failure
- A team builds the gold layer as SQL views on a lakehouse endpoint, then discovers that Direct Lake on OneLake can't use non-materialised views and Direct Lake on SQL falls back to DirectQuery on every query.
- When to use it
- Lakehouse when data arrives as files and engineers use Spark or Dataflow Gen2; Warehouse when the team works in T-SQL and needs multi-table transactions; shortcuts to reference data without copying it.
- When not to
- Copying the same table into several lakehouses "to be safe": use shortcuts and one owner.
Assignments
Land the company pack in a lakehouse
- Create a workspace on the trial capacity and a lakehouse called nw_bronze.
- Upload the seven CSVs to Files, then Load to Tables (each becomes a Delta table).
- Open the SQL analytics endpoint and run the Q1 2026 by region query from the SQL track. Compare with the expected values there.
- Try an UPDATE through the SQL analytics endpoint and read the error.
Lakehouse or Warehouse for the gold layer?
Northwind's team knows T-SQL, not Spark (Sprint 09). Choose where the cleaned star schema (gold layer) lives and justify it against the constraints, including how it will be read by a Direct Lake model.
- Team skills, transactions, security, how the semantic model reads it.
- What you'd do with SQL views in the design.
Shortcut instead of copy
Finance has its own workspace and lakehouse, and wants the cleaned customer table owned by the sales data team. Give them access without copying it.
- Create a OneLake shortcut in Finance's lakehouse to the source table.
- Explain who owns the data, who can change it, and how permissions apply.
Interview questions
- What is OneLake?
- Lakehouse vs Warehouse?
- What is the SQL analytics endpoint?
- What is a shortcut?
Assessment
Can you run UPDATE through a lakehouse's SQL analytics endpoint?
- Yes
- No: it's read-only
- Only on views
- Only as an admin
A team only knows T-SQL and needs multi-table transactions for its gold layer. Best fit:
- Lakehouse with Spark notebooks
- Fabric Warehouse
- Excel files in OneLake
- Eventhouse
Use the Fabric decision guide to classify Northwind's four workloads from Sprint 09 (sales, finance, ops, web) by store.
Consider data volume, latency, skills and who writes the data.