databricks-dbsql

Explain Databricks SQL features including SQL scripting, stored procedures, and materialized views.

4|2|Updated Feb 16, 2026
One-click install
npx skills add https://github.com/alessandro9110/Speech-To-Text-With-Databricks --skill databricks-dbsql-alessandro9110
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: databricks-dbsql
Source: https://github.com/alessandro9110/Speech-To-Text-With-Databricks/tree/main/.claude/skills/databricks-dbsql
Command: npx skills add https://github.com/alessandro9110/Speech-To-Text-With-Databricks --skill databricks-dbsql-alessandro9110

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides comprehensive guidance on leveraging the advanced features of Databricks SQL (DBSQL), optimizing SQL warehouse performance, and implementing best practices for data modeling and query writing.

Core Features & Use Cases

  • Advanced SQL Features: Explains and demonstrates SQL scripting, stored procedures, recursive CTEs, materialized views, AI functions, geospatial capabilities, and more.
  • Performance Optimization: Offers insights into warehouse sizing, caching, Liquid Clustering, and query tuning.
  • Data Modeling: Guides users on star schema design, dimensional modeling, and best practices for the Lakehouse.
  • Use Case: A data engineer needs to write a complex, multi-step ETL process in SQL. They can use this Skill to learn about SQL scripting, stored procedures, and error handling to build a robust and maintainable solution.

Quick Start

Explain how to create a materialized view in Databricks SQL with a daily refresh schedule.

Frequently Asked Questions about databricks-dbsql

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create a materialized view in Databricks SQL with a daily refresh schedule?

To create a materialized view in Databricks SQL, use the CREATE MATERIALIZED VIEW statement and specify the refresh schedule using a CRON expression. This automates daily data updates for efficient query performance on the Lakehouse.

What is the best way to tune Databricks SQL warehouse performance?

Databricks SQL warehouse performance tuning involves optimizing warehouse sizing, utilizing caching, and implementing Liquid Clustering. Applying these techniques reduces query execution time and improves overall resource management.

Can I write multi-step ETL processes using SQL scripting in Databricks?

Yes, Databricks SQL supports SQL scripting and stored procedures for multi-step ETL processes. You can implement complex logic, variables, and error handling to build robust data pipelines directly in SQL.

Does Databricks SQL support geospatial operations and AI functions?

Databricks SQL supports geospatial operations for spatial data analysis and built-in AI functions for machine learning integration. These features allow advanced data manipulation and analytical processing within SQL queries.

How do recursive CTEs work in Databricks SQL?

Recursive CTEs in Databricks SQL allow querying hierarchical or multi-level data by repeatedly executing a subquery. They are useful for traversing organizational structures or multi-level dependencies within your data models.

What data modeling best practices should I follow for the Databricks Lakehouse?

Data modeling for the Databricks Lakehouse follows star schema design and dimensional modeling principles. Structuring data with these patterns optimizes query performance and maintains analytical accuracy.