databricks-dbsql

Document advanced Databricks SQL features including stored procedures, recursive CTEs, and materialized views.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/andregit2026/Databricks_DQ_Business --skill databricks-dbsql-andregit2026
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: databricks-dbsql
Source: https://github.com/andregit2026/Databricks_DQ_Business/tree/main/.claude/skills/databricks-general-skill-dbsql
Command: npx skills add https://github.com/andregit2026/Databricks_DQ_Business --skill databricks-dbsql-andregit2026

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It helps data engineers and analysts leverage advanced Databricks SQL features (DBSQL) to build performant, scalable queries, optimize workflows, and unlock lakehouse capabilities.

Core Features & Use Cases

  • Advanced DBSQL capabilities for procedural SQL, recursive queries, and materialized views in Databricks environments.
  • Use cases include modular querying, ETL pipelines, geospatial analysis, and AI-enabled SQL patterns over large data lakes.
  • Example: combine a stored procedure with a recursive CTE to maintain a hierarchical catalog of datasets and automate maintenance tasks.

Quick Start

Provide a concrete DBSQL example demonstrating a stored procedure using WITH RECURSIVE and a materialized view.

Frequently Asked Questions about databricks-dbsql

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

FAQPage Schema
How do I use recursive CTEs and stored procedures together in Databricks SQL?

You can use recursive CTEs and stored procedures in Databricks SQL to build modular queries that maintain hierarchical catalogs and automate procedural ETL tasks. This combination enables complex procedural scripting within lakehouse workflows.

What is the best way to build materialized views in a Databricks lakehouse?

Materialized views in a Databricks lakehouse are built using advanced DBSQL to pre-compute and store query results, optimizing performance for scalable analytics. They satisfy requirements for documenting advanced features and best practices in lakehouse workflows.

Does Databricks SQL support geospatial analysis and AI-enabled SQL patterns?

Yes, Databricks SQL supports geospatial analysis and AI-enabled SQL patterns through advanced DBSQL features. You can leverage these capabilities to process large datasets and execute complex spatial or AI functions directly within your queries.

Can I perform procedural ETL and transaction management with DBSQL?

Yes, you can perform procedural ETL and transaction management with DBSQL by utilizing stored procedures and SQL scripting. These features allow you to build scalable, performant data pipelines and manage transactions within the Databricks environment.

How do I use http_request and remote_query functions in Databricks SQL?

You use http_request and remote_query functions in Databricks SQL to integrate external data sources and APIs directly into your queries. These advanced DBSQL features enable seamless procedural ETL and AI-enabled SQL patterns across large datasets.

What are the limitations of using pipe syntax in Databricks SQL?

Pipe syntax in Databricks SQL is an advanced feature for building modular queries, but its limitations depend on specific lakehouse workflow contexts. Understanding when to use pipe syntax versus standard scripting ensures performant, scalable query execution.