databricks-spark-declarative-pipelines

Create and configure Databricks Lakeflow Spark Declarative Pipelines with serverless compute.

31|18|Updated Apr 4, 2026
One-click install
npx skills add https://github.com/ThomazRossito/data-agents --skill databricks-spark-declarative-pipelines-thomazrossito
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: databricks-spark-declarative-pipelines
Source: https://github.com/ThomazRossito/data-agents/tree/main/skills/databricks/databricks-spark-declarative-pipelines
Command: npx skills add https://github.com/ThomazRossito/data-agents --skill databricks-spark-declarative-pipelines-thomazrossito

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

Data engineers spend excessive time manually configuring Spark Declarative Pipelines, handling syntax nuances, serverless vs. classic clusters, and ensuring proper CDC and medallion layering. This Skill eliminates the guesswork and reduces errors when creating, configuring, and updating Databricks Lakeflow pipelines.

Core Features & Use Cases

  • Declarative Syntax Guidance: Enforces CREATE OR REFRESH syntax for streaming tables and materialized views, avoiding legacy CREATE OR REPLACE.
  • Workflow Selection: Provides three clear pathways—standalone project initialization, bundle augmentation, and rapid MCP iteration.
  • Serverless Defaults: Automatically configures serverless compute, liquid clustering, and best‑practice table properties.
  • CDC & SCD Support: Detailed patterns for AUTO CDC, SCD Type 2, and change‑data‑capture flows in both SQL and Python.
  • Medallion Architecture: Templates for bronze → silver → gold pipelines, including naming conventions and multi‑schema patterns.

Quick Start

Create a new SDP pipeline using databricks pipelines init with a config file that defines your catalog and schema.

Frequently Asked Questions about databricks-spark-declarative-pipelines

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

FAQPage Schema
How do I create a Databricks Spark declarative pipeline for a medallion architecture?

To create a Databricks Spark declarative pipeline for a medallion architecture, initialize a standalone project using the databricks pipelines init command with a config file defining your catalog and schema. This automatically generates bronze to silver to gold templates with proper naming conventions and multi-schema patterns.

What is the correct syntax for creating streaming tables in Databricks Lakeflow pipelines?

The correct syntax for creating streaming tables in Databricks Lakeflow pipelines is `CREATE OR REFRESH`. Using this declarative syntax for streaming tables and materialized views avoids legacy `CREATE OR REPLACE` commands and ensures proper pipeline updates.

Can I configure serverless compute and liquid clustering for Spark declarative pipelines?

Yes, you can configure serverless compute and liquid clustering for Spark declarative pipelines. The setup automatically applies serverless defaults, liquid clustering, and best-practice table properties during pipeline creation and updates without manual configuration.

Does this approach support change data capture and SCD Type 2 workflows in both SQL and Python?

Yes, this approach supports change data capture and SCD Type 2 workflows in both SQL and Python. It provides detailed patterns for AUTO CDC, SCD Type 2, and change-data-capture flows, including automatic schema handling for Auto Loader and CDC workflows.

What is the best way to migrate from Delta Live Tables to Spark declarative pipelines?

The best way to migrate from Delta Live Tables to Spark declarative pipelines is by using enforced `CREATE OR REFRESH` syntax and serverless compute defaults. This approach eliminates manual configuration guesswork and reduces syntax errors during the migration process.

What are the limitations when using automatic schema handling with Auto Loader in declarative pipelines?

Automatic schema handling with Auto Loader in declarative pipelines is designed specifically for CDC workflows and serverless compute environments. Limitations arise when manual schema overrides are required, as the pipeline defaults to automatic schema handling and serverless configurations.