Delta Lake interview questionsQuestion 3 of 8
Delta Lake interview question · Question 3 of 8
Delta Lake vs Apache Iceberg vs Apache Hudi: how do they differ?
Short answer
All three are open table formats. They add a metadata layer over Parquet files to give atomic commits, snapshots and time travel, schema changes and row-level updates. Delta keeps an ordered log of JSON commits with Parquet checkpoints, and is strongest in Spark and Databricks. Iceberg keeps a tree of metadata and manifest files, commits by swapping a pointer in a catalog, tracks columns by ID, and hides partitioning from users, which makes it popular when many engines share tables. Hudi is built around a timeline, record keys and indexes, and suits upsert-heavy streaming. Choose by which engines must read and write, your catalog and your write pattern.
On this page
Detailed explanation
For the full lesson, with Delta and Iceberg metadata compared on disk and a step-by-step guide to choosing, see Delta Lake vs Apache Iceberg vs Apache Hudi.
| Delta Lake | Apache Iceberg | Apache Hudi | |
|---|---|---|---|
| Metadata | _delta_log/ JSON commits plus Parquet checkpoints |
Table metadata file, snapshots, manifest lists, manifests | Timeline of instants in .hoodie/ plus a metadata table |
| Atomic commit | Atomic creation of the next log file, or a catalog that coordinates commits | Catalog compare-and-swap of the current metadata pointer | Timeline transitions, with a lock provider for multiple writers |
| Partitioning | Partition columns, or liquid clustering | Hidden partitioning via transforms, with partition evolution | Partition paths, plus clustering |
| Column renames and drops | With column mapping (protocol upgrade) | Native, columns tracked by ID | Supported by schema evolution |
| Row-level changes | Copy-on-write; deletion vectors for merge-on-read | Copy-on-write, or delete files (v2) and deletion vectors (v3) | Copy-on-write or merge-on-read tables with record-level indexes |
| Incremental reads | Change data feed | Incremental snapshot reads | Incremental queries, a core feature |
Points worth making precisely
- Hidden partitioning (Iceberg). The table declares
days(event_ts)orbucket(16, user_id). Queries filter onevent_tsand the engine prunes partitions; users never write a partition column, and the spec can change for new data without rewriting old data. - Merge-on-read (Hudi, and Delta and Iceberg in their own forms). Updates are written as small log, delete or deletion-vector files and merged at read time until compaction. Writes are cheap; reads pay until maintenance runs. Copy-on-write is the opposite.
- Interoperability. Delta UniForm writes Iceberg metadata alongside the Delta log so Iceberg readers can query a Delta table; Apache XTable (incubating) translates metadata between formats. One format is still the writer of record.
Example: how you would answer a design prompt
“We run Spark for ETL, Trino and a cloud warehouse for queries, and Flink writes some tables.” A good answer: writes from several engines and a shared catalog point to Iceberg with a REST catalog. If the platform is Databricks-centred, with Spark doing all writes, Delta (optionally with UniForm for Iceberg readers) is simpler. If the core workload is high-rate upserts from CDC with record-level indexing needs, evaluate Hudi’s merge-on-read tables.
Trade-offs and pitfalls
- No format is faster in general. File sizes, clustering, statistics and the engine matter more than the format.
- Feature support differs by engine and version: a table using deletion vectors or Iceberg v3 features can be unreadable by an older connector.
- All three need maintenance: compaction, snapshot or log expiry, and orphan file removal (
VACUUMin Delta,expire_snapshotsandremove_orphan_filesin Iceberg, cleaning and compaction services in Hudi).
Common mistakes
- Calling any of them a storage engine or database. They are table formats: specifications for files plus metadata.
- Claiming one “does ACID” and the others do not. All three provide atomic commits and snapshot isolation per table.
- Choosing by benchmark blog posts instead of by engines, catalog and write pattern.
Progress is saved in this browser only. No account needed.

