What problem does it solve?
Provides a prescriptive, production-oriented workflow to create, configure, and validate Databricks Lakeflow Spark Declarative Pipelines (SDP) so teams can reliably ingest streaming data, apply CDC/SCD patterns, and publish clean analytics tables without manual cluster management or ad-hoc scripts.
Core Features & Use Cases
- Declarative pipeline creation: Guidance and syntax for CREATE OR REFRESH STREAMING TABLE and CREATE OR REFRESH MATERIALIZED VIEW in SQL and equivalent pyspark.pipelines (dp) patterns in Python.
- Ingestion patterns: Auto Loader (read_files), Kafka, and file-based streaming with rescue/quarantine patterns, schema hints, and ingestion metadata.
- CDC / SCD support: AUTO CDC flows and SCD Type 2 patterns with best practices for sequence_by, apply-as-delete ordering, and history tracking (__START_AT / __END_AT).
- Medallion architecture & minimalism: Recommendations for bronze→silver→gold pipelines, naming conventions, clustering defaults, and when to keep pipelines minimal vs. full medallion chains.
- Deployment & iteration workflows: Option A (standalone DAB project), Option B (add to existing bundle), and Option C (MCP rapid iteration), plus validation and post-run checks.
- Real-world example: Ingest JSON orders with Auto Loader into a bronze streaming table, clean and deduplicate in silver, then publish a gold materialized view for daily totals with SCD Type 2 customer history.
Quick Start
Create a serverless SDP that ingests JSON files from /Volumes/my_catalog/my_schema/raw/orders into a bronze streaming table and a gold materialized view that aggregates daily totals.