silver-layer-setup
Silver Layer Setup - Orchestrator Skill
End-to-end workflow for creating production-grade Silver layer pipelines using Spark Declarative Pipelines (SDP, formerly Delta Live Tables/DLT) with Delta table-based data quality rules, quarantine patterns, streaming ingestion, and monitoring views.
Naming: Databricks rebranded DLT to Spark Declarative Pipelines (SDP) / Lakeflow Declarative Pipelines (LDP). The modern Python API is
from pyspark import pipelines as dp. However, our DQ rules framework still usesimport dlt(legacy API) because@dlt.expect_all_or_drop()decorators are not yet available in thedpAPI. When Databricks migrates expectations todp, both this skill anddlt-expectations-patternswill be updated. New projects may usedatabricks pipelines initto scaffold an SDP Asset Bundle project.
Time Estimate: 3-4 hours for initial setup, 1 hour per additional table
What You'll Create:
dq_rulesDelta table - Centralized rules repository in Unity Catalogdq_rules_loader.py- Pure Python module to load rules at runtimesilver_*.py- SDP/DLT notebooks with expectations loaded from Delta tablesilver_pipeline.yml- Serverless SDP pipeline configuration- DQ monitoring views - Per-table metrics and referential integrity checks