This chapter covers the core features and capabilities of Medallion Architecture Accelerator.
framework/)#### Bronze Layer (Raw Ingestion)
#### Silver Layer (Conformed / Cleansed)
#### Gold Layer (Business / Aggregated)
#### Utility Tools (New in v2.0)
config/)quality/) -- Null checks, schema validation, business rules, inter-layer assertionsoptimization/) -- OPTIMIZE, ZORDER, VACUUM, liquid clustering per layer tiertesting/) -- Unit and integration testing framework for every layerdocs/guide/)A complete, opinionated guide to designing, building, and operating a medallion lakehouse:
| Chapter | Topic | What You'll Learn |
|---|---|---|
| 01 | Introduction | Why medallion, when to use it, core principles |
| 02 | Decision Framework | How to decide if medallion fits your use case |
| 03 | Bronze Layer | Ingestion patterns, schema evolution, exactly-once |
| 04 | Silver Layer | Cleansing, conformance, deduplication, SCD |
| 05 | Gold Layer | Aggregations, dimensional modeling, materialized views |
| 06 | Naming Conventions | Databases, tables, columns, paths -- consistent naming |
| 07 | Schema Evolution | Safe schema changes, migration strategies, compatibility |
| 08 | Data Quality Gates | Null checks, business rules, inter-layer assertions |
| 09 | Anti-Patterns | Common mistakes and how to avoid them |
| 10 | Reference Architectures | Three complete architectures (startup → enterprise) |
docs/cheatsheets/)docs/diagrams/)docs/)# config/sources/orders.yaml
source:
name: orders
type: auto_loader
format: json
path: "s3://raw-bucket/orders/"
schema_hints:
order_id: long
customer_id: long
order_date: timestamp
bronze:
database: raw
table: orders
partition_columns: [ingestion_date]
silver:
database: cleansed
table: orders
primary_keys: [order_id]
dedup_columns: [order_id, order_date]
gold:
- database: analytics
table: daily_order_summary
aggregation: daily_summary
group_by: [order_date]
metrics:
- {column: order_total, function: sum, alias: total_revenue}
- {column: order_id, function: count, alias: order_count}from config.pipeline_generator import PipelineGenerator
generator = PipelineGenerator("config/sources/orders.yaml")
generator.generate_all()# Bronze -- ingest raw data
bronze_pipeline.run()
# Silver -- cleanse and conform
silver_pipeline.run()
# Gold -- build business aggregations
gold_pipeline.run()from framework.naming_convention_generator import NamingConventionGenerator
gen = NamingConventionGenerator(environment="production")
table_name = gen.generate_table_name(layer="silver", domain="orders", entity="line_items")
# → "silver_orders_line_items"from framework.schema_migration import SchemaMigrationManager
mgr = SchemaMigrationManager(catalog="main", environment="production")
mgr.plan_migration(source_schema, target_schema)
mgr.apply()Follow this guide to get Medallion Architecture Accelerator up and running in your environment.
medallion-architecture-accelerator/
├── framework/
│ ├── bronze/
│ │ ├── base_ingestor.py # Base ingestion class
│ │ ├── auto_loader_ingestor.py # Auto Loader template
│ │ └── jdbc_ingestor.py # JDBC incremental ingestor
│ ├── silver/
│ │ ├── base_transformer.py # Silver transformation base
│ │ └── scd_type2.py # SCD Type 2 implementation
│ ├── gold/
│ │ ├── aggregation_builder.py # Aggregation and KPI builder
│ │ └── fact_table_builder.py # Fact table builder
│ ├── naming_convention_generator.py # [NEW] Naming convention utility
│ └── schema_migration.py # [NEW] Schema migration manager
├── config/
│ ├── pipeline_generator.py # Metadata-driven generator
│ └── example_sources.yaml # Example source configs
├── quality/
│ └── quality_gates.py # Inter-layer quality gates
├── optimization/
│ └── delta_optimization.py # Delta optimization patterns
├── testing/
│ └── layer_tests.py # Testing framework
└── docs/
├── architecture_guide.md # Architecture reference
├── performance_benchmarks.md # Benchmarks and sizing
├── guide/ # [NEW] 10-chapter implementation guide
│ ├── 01_introduction.md
│ ├── 02_decision_framework.md
│ ├── 03_bronze_layer.md
│ ├── 04_silver_layer.md
│ ├── 05_gold_layer.md
│ ├── 06_naming_conventions.md
│ ├── 07_schema_evolution.md
│ ├── 08_data_quality_gates.md
│ ├── 09_anti_patterns.md
│ └── 10_reference_architectures.md
├── cheatsheets/ # [NEW] Quick-reference sheets
│ ├── layer_comparison.md
│ ├── migration_checklist.md
│ └── naming_conventions_cheatsheet.md
└── diagrams/ # [NEW] Architecture diagrams
├── data_flow.md
├── decision_tree.md
└── medallion_overview.md
Get the full Medallion Architecture Accelerator and unlock everything.
Get the complete guide with every chapter unlocked, including code samples, diagrams, and best practices.
Access all interactive tools with complete data, all workload profiles, and the full scenario library.
Downloadable source code, configuration files, and working examples from every chapter.
Free updates for life. Every new chapter, tool, and improvement included.