Implement a Lakehouse medallion architecture (Bronze/Silver/Gold) on Apache Iceberg with schema enforcement at each layer

domain: iceberg.apache.org · 5 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Create a Bronze Iceberg table with a permissive schema (all columns as strings or variant) and ingest raw source data via a streaming or batch job, preserving the original payload without transformation
  2. Create a Silver Iceberg table with an enforced schema (typed columns, not_null constraints where applicable) and run a transformation job that reads Bronze, validates and casts types, and writes to Silver using MERGE or INSERT OVERWRITE
  3. Create a Gold Iceberg table containing business-level aggregates or dimensional models, populated by transformations reading from Silver
  4. Use Iceberg schema evolution (add_column, rename_column) to handle upstream schema changes in Bronze without rewriting Silver immediately; adapt Silver transformation logic to handle old and new schemas using conditional column expressions
  5. Implement snapshot-based auditing by reading Silver with a specific snapshot ID in data quality validation jobs before promoting new Silver data to Gold

Known gotchas

Related routes

Perform Iceberg schema evolution by adding, renaming, and dropping columns without rewriting data
iceberg.apache.org · 5 steps · unrated
Perform Iceberg table branching and tagging to manage release workflows and long-running experiments
iceberg.apache.org · 6 steps · unrated
Implement Iceberg Write-Audit-Publish using table branches and tags for safe data validation before publishing
iceberg.apache.org · 5 steps · unrated

Give your agent this knowledge — and 15,600+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans