Module 6: Databricks SQL

15 analysts each have their own CSV extracts. Reports disagree. The CFO asks why the capacity factor is different in every meeting.

in-progress

Your wind utility has reliable data pipelines, governed tables, and clean medallion layers. But the 15 analysts who actually build the reports and dashboards are frustrated. They don’t use notebooks. They use SQL, Tableau, and Excel. Their experience on the platform is what determines whether the CFO considers the Databricks investment worthwhile.

Right now, each analyst has their own process: download CSVs, load into local tools, build reports. The fleet capacity factor shows up differently in every meeting because each analyst applied slightly different filters. The CFO is losing confidence in the data.

Databricks SQL (DBSQL) is the analyst-facing query layer. It provides SQL warehouses — dedicated compute endpoints optimized for BI workloads — that connect to the same governed Delta tables the engineers write to. Analysts query Gold tables through SQL, Tableau, or PowerBI. Everyone hits the same data, through the same governance layer.

This is where the Snowflake comparison becomes unavoidable. Every DBSQL conversation eventually turns into “so how does this compare to Snowflake?” You need a nuanced, honest answer. Snowflake is genuinely better at some things — its SQL interface is more mature, its concurrency scaling is more straightforward, and its ecosystem of SQL tools is deeper. Databricks’ advantage is the unified platform: the same data, from ingestion through ML, without ETL between systems.

This module teaches DBSQL from the analyst’s perspective — not the engineer’s — because that’s the viewpoint that matters for platform adoption.

Prerequisites #

Complete Module 5: Unity Catalog. Analysts query through the governance layer — you need to understand what they’re connecting to.

Exercises #

Exercises live in modules/06-databricks-sql/exercises/. You’ll write SQL queries against wind turbine data, examine query plans, and compare the experience with Snowflake’s model.

Lectures

  1. What do SQL analysts actually need? — 15 analysts each have their own CSV extracts. The fleet capacity factor shows up differently in every meeting. The CFO is losing confidence in the data. What went wrong, and what do analysts actually need from a data platform?
  2. SQL warehouses and the Photon engine — What a SQL warehouse actually is under the hood, why there are three types (Classic, Pro, Serverless), and how Photon's vectorized execution makes DBSQL fast enough to compete with dedicated data warehouses
  3. Databricks SQL vs. Snowflake: the honest comparison — Every DBSQL conversation eventually becomes 'so how does this compare to Snowflake?' You need a nuanced, honest answer -- not a sales pitch in either direction
  4. BI tools and the analyst experience — How analysts actually connect to Databricks SQL: JDBC/ODBC for Tableau and Power BI, Partner Connect for one-click setup, query monitoring for debugging slow dashboards, result caching for free performance, and the Python connector for programmatic access
  5. The full stack comparison: Databricks vs. the alternatives — Comparing complete data platform stacks — not individual tools — for the wind utility's real requirements

Exercises

  • Exercises: Databricks SQL — Build a dashboard in the DBSQL editor, optimize query performance with Liquid clustering, and query Databricks SQL programmatically from local Python

Knowledge Tests