spark-declarative-pipelines

Automate Databricks Spark Declarative Pipelines with serverless compute and Asset Bundles.

1|1|Updated Nov 9, 2025
One-click install
npx skills add https://github.com/Paldom/databricks-apps-streamlit-vibe-coding-starter --skill spark-declarative-pipelines-paldom
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: spark-declarative-pipelines
Source: https://github.com/Paldom/databricks-apps-streamlit-vibe-coding-starter/tree/main/.agents/skills/spark-declarative-pipelines
Command: npx skills add https://github.com/Paldom/databricks-apps-streamlit-vibe-coding-starter --skill spark-declarative-pipelines-paldom

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill streamlines the creation, deployment, and management of Databricks Spark Declarative Pipelines (SDP), automating data ingestion, transformation, and loading processes.

Core Features & Use Cases

  • Automated Pipeline Creation: Initializes new projects using Databricks Asset Bundles for a structured, multi-environment setup.
  • Data Ingestion & Transformation: Supports Auto Loader for cloud files and various streaming sources (Kafka, Event Hubs), with SQL and Python APIs for complex logic.
  • Change Data Capture (CDC): Implements SCD Type 1 and Type 2 patterns for tracking data history and deduplication.
  • Performance Optimization: Leverages Liquid Clustering for efficient data layout and query performance.
  • Use Case: Set up a production-ready data pipeline to ingest streaming data from Kafka, transform it through bronze, silver, and gold layers, and make it available for BI dashboards, all managed via a single command.

Quick Start

Initialize a new Spark Declarative Pipeline project using the databricks pipelines init command.

Frequently Asked Questions about spark-declarative-pipelines

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

FAQPage Schema
How do I build a Databricks data pipeline using Auto Loader and streaming sources?

You can build a Databricks data pipeline by initializing a Spark Declarative Pipeline project with Databricks Asset Bundles. This approach supports Auto Loader for cloud files and streaming sources like Kafka or Event Hubs for continuous data ingestion.

What is the best way to implement CDC and SCD Type 2 patterns in Spark?

The best way to implement CDC and SCD Type 2 in Spark is using declarative pipelines. They natively support SCD Type 1 and Type 2 patterns, enabling efficient tracking of data history and deduplication across your bronze, silver, and gold layers.

Can I use SQL and Python APIs in the same Databricks declarative pipeline?

Yes, Databricks declarative pipelines fully support both SQL and Python APIs. You can use them together within the same pipeline to define complex transformation logic across your data layers.

Does Spark Declarative Pipelines support serverless compute and Liquid Clustering?

Yes, Spark Declarative Pipelines use serverless compute and leverage Liquid Clustering. This combination optimizes data layout and significantly improves query performance for your pipeline workloads.

How do I set up a multi-environment Databricks pipeline project?

You set up a multi-environment Databricks pipeline by initializing a new project using the databricks pipelines init command. This creates a structured, production-ready configuration managed via Databricks Asset Bundles.