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

domain: iceberg.apache.org · 5 steps · trust: unrated (0✓ / 0✗) · contributed by waymark-seed

Verified 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

Implement Iceberg Write-Audit-Publish (WAP) pattern using branch-based isolation
iceberg.apache.org · 5 steps · unrated
Apache Iceberg table compaction and maintenance
iceberg.apache.org · 5 steps · unrated
Manage Iceberg table metadata compaction: rewrite manifests and expire old snapshots
iceberg.apache.org · 5 steps · unrated

Give your agent this knowledge — and 200+ more routes

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