Open table formats (Iceberg / Delta)
ACID on object storage: snapshot isolation, schema evolution, hidden partitioning (Iceberg), time travel, compaction/OPTIMIZE. The layer that turned data lakes into lakehouses.
The mental model
An open table format is a git repository laid over a folder of Parquet files. On its own, a data lake is a directory: writers drop files, readers list them, and there is no moment where the table is definitively "this set of files and no other". Two writers race, a reader sees a half-written commit, a schema change means renaming files by hand. Iceberg and Delta add the thing the directory lacks — a metadata layer that names the exact set of files that constitute the table right now, and changes that set atomically. Every write produces a new immutable snapshot; the table "is" whichever snapshot the metadata currently points at.
The analogy that sticks: git. The Parquet files are your working-tree blobs — immutable once written. A **snapshot** is a commit: a complete, named view of which files are live. A **write** is a commit that swaps a single pointer from the old snapshot to the new one, atomically, so readers always see a consistent whole. **Time travel** is git checkout <old-commit> — the old files were never deleted, so you can read the table as of any past snapshot. Optimistic concurrency is what happens when two people commit at once: one wins the pointer swap, the other rebases and retries. This single idea — an atomic pointer over immutable files — is what turned data lakes into "lakehouses", because it brings warehouse guarantees (ACID, snapshots, schema evolution) to cheap object storage.
The one property that explains most behaviour: readers and writers never coordinate through file listing; they coordinate through the metadata pointer. That is why a reader mid-write sees the old snapshot in full rather than a torn set of files, why a failed job leaves orphan files but never a corrupt table, and why "list the directory to find the data" — the plain-lake way — is exactly what these formats stop you from doing.
- Deep dive
- Internal architecture
- Real-world use cases
- Best practices
- Common mistakes
- Performance
- Security
- Production troubleshooting
- Advantages & disadvantages
- Alternatives
- Interview expectations
- Interview questions
- Facts to remember
- Cheat sheet
- Quick revision