What problem does it solve?
Medallion architecture turns messy, source-native lakehouse data into reliable, queryable datasets by enforcing a disciplined progression from raw ingestion to cleansed truth and then business-ready serving tables.
Core Features & Use Cases
- Define Bronze/Silver/Gold responsibilities: model an immutable raw archive (Bronze), a typed and deduplicated operational truth (Silver), and consumer-optimized outputs (Gold).
- Implement end-to-end load patterns: generate DDL/DML for Iceberg-based Parquet lakehouses, including incremental pipelines, MERGE-based upserts, and streaming/CDC micro-batch designs.
- Handle deduplication and correctness: apply row_number, MERGE semantics, hash/CDC ordering, watermark strategies, and schema evolution while adding data quality gates between layers.
- Tune storage for performance: set partitioning/sorting per layer (e.g., ingestion date vs business event date vs reporting period) and support late-arriving data with safe reprocessing/backfills.
Quick Start
Use the medallion_architecture skill to design your Bronze/Silver/Gold Iceberg tables and incremental MERGE + dedup approach for a CDC or batch ingestion scenario.