Iceberg V3: Row-Level Lineage and Schema Evolution for Streaming Data
summary
Claim: Apache Iceberg V3 assigns immutable row IDs at commit time so streaming writes get row-level lineage without changing writers. Demo builds a laptop pipeline with Kafka Connect sink, Spark/DuckDB readers, Polaris REST catalog, MinIO object store and Marquez/OpenLineage; commits every ~2s produce contiguous sequence numbers (example: last six commits start 242 → commit 17 contains row 299). Merge-on-read keeps identity; equality-delete upserts churn IDs; connector-driven schema evolution works if new fields are optional. A small BYOL hook posts commit reports to OpenLineage to join job-level and row-level lineage. Public repo contains runnable demo.
AI-written summary · about
chapters (16)
- 0:00Introduction to Iceberg V3
- 1:55Lakehouse native streaming
- 3:18Row identity in Iceberg V3
- 5:24Demo stage one: Row IDs assigned
- 8:15Demo stage two: Updates and sequence IDs
- 9:18Demo stage three: Schema evolution
- 11:02Demo stage five: Failure modes
- 12:46Writer impacts on lineage
- 14:30Checklist for Iceberg V3 setup
- 16:34Bring your own lineage
- 20:01Full trace demo
- 21:02Catalog as control point
- 22:07Summary and resources
- 22:50Q&A: Row ID uniqueness
- 24:55Q&A: Handling upserts
- 27:01Q&A: Latest record state
