Writing

Choosing between Delta, Hudi and Iceberg

What actually differs between Delta, Hudi and Iceberg once you run them: metadata layout, upsert cost, engine reach, and the maintenance nobody demos.

I have evaluated all three of these against real workloads. The conclusion is unhelpful as a headline and very useful in practice: the formats are close enough on scan performance that the differentiator is almost never the format’s speed. It is the write pattern, the engines that must read the table, and how much maintenance you are willing to operate.

I am deliberately not quoting throughput numbers here. Numbers from someone else’s cluster, file sizes, key cardinality and cloud region do not transfer to yours, and publishing them mostly launches arguments. What does transfer is the shape of the trade-offs.

What all three actually are

Every one of them is a metadata layer over immutable Parquet files in object storage, plus a log that says which files constitute the table right now. That log is what buys you atomic commits, snapshot isolation between readers and writers, time travel, and schema evolution without rewriting the world. Strip the marketing away and the differences are in how that log is structured and what it makes cheap.

Iceberg

Iceberg keeps a pointer to a metadata.json, which names a snapshot, which names a manifest list, which names manifest files, which finally name data files. Every manifest carries per-file column statistics. A planner can therefore prune files using min/max values without listing a single directory, which is why Iceberg planning stays flat as a table grows into millions of files.

Delta Lake

Delta keeps an ordered _delta_log/ of JSON commits, each an append of add and remove actions, with a Parquet checkpoint written every ten commits by default (delta.checkpointInterval). Statistics are embedded in the add actions, collected for the first 32 columns by default, tunable via delta.dataSkippingNumIndexedCols. That last detail matters more than it sounds: if the column you filter on is column 90 in a wide table, you are getting no data skipping at all until you reorder or raise the limit.

Hudi

Hudi keeps a timeline of instants under .hoodie/ and, uniquely, a record-level index. Rows have a declared primary key and a precombine field, and Hudi tracks which file group each key lives in. Tables come in two flavours: copy-on-write, where an update rewrites the Parquet file containing the row, and merge-on-read, where updates go to Avro log files that are compacted into Parquet later.

The one difference that changes architecture

That Hudi index is the real structural difference between the three.

When you MERGE INTO a Delta or Iceberg table, the engine has to work out which files contain the matching keys. Statistics help if your join key correlates with file layout, and do very little if it does not, because a random UUID key spreads uniformly across every file. The cost of an upsert therefore tends toward the cost of a join against the target table.

Hudi looks the key up in its index and touches only the affected file groups. If your workload is high-frequency upserts on a natural primary key, which is exactly what CDC off an operational database looks like, that is a genuinely different cost curve rather than a tuning difference.

The counterweight is that you are now operating an index. Bloom indexes degrade as key cardinality and file counts grow; bucket index requires you to pick a bucket count up front and live with it; the record-level index is another metadata table to compact and clean. Hudi has more knobs than the other two combined, and that is a direct consequence of doing something the other two do not.

Comparison at a glance

Dimension Iceberg Delta Lake Hudi
Metadata metadata.json to manifest list to manifests _delta_log JSON commits plus checkpoints .hoodie timeline plus metadata table
File pruning Manifest column stats Stats in add actions, first 32 cols by default Timeline plus record index
Upsert model Copy-on-write or merge-on-read deletes Copy-on-write, deletion vectors for merge-on-read deletes COW or MOR, index-driven
Partitioning Hidden partitioning, transforms, evolvable Physical directories, Z-ORDER, liquid clustering on Databricks Physical, plus clustering
Primary key required No No Yes
Maintenance rewrite_data_files, expire_snapshots, remove_orphan_files OPTIMIZE, VACUUM compaction, clustering, cleaner

Partition evolution is Iceberg’s quiet superpower

Iceberg queries filter on the raw column, not a derived partition column. You declare PARTITIONED BY (days(event_ts)) and users write WHERE event_ts >= ...; the transform is applied for them. Two consequences follow.

First, nobody can accidentally scan the whole table by forgetting the dt predicate, which on a Hive-style table is the single most common cause of a surprise Athena bill.

Second, you can change the partition spec. Start with days(event_ts), discover a year later that you need hours(event_ts), and Iceberg applies the new spec to new data while old data keeps the old one. Both are readable in the same query.

-- change the layout going forward, no rewrite of history required
ALTER TABLE catalog.events.clicks
  REPLACE PARTITION FIELD days(event_ts) WITH hours(event_ts);

On Delta and Hudi, re-partitioning is a rewrite. Delta’s answer on Databricks is liquid clustering, which removes the choice by making layout a maintenance concern instead of a schema one, and is genuinely good. It is also, at the time of writing, much better on Databricks than in open-source Delta.

Engine reach, which is usually the deciding vote

Nobody reads a lakehouse table from one engine. Before anything else, list the engines that must query it and check each one, at the version you actually run:

  • Spark is first class on all three, on EMR, Databricks and Glue.
  • Trino and Athena have the deepest Iceberg support, including writes and table maintenance. Delta and Hudi are readable but the feature surface is thinner.
  • Snowflake and BigQuery landed on Iceberg for external tables.
  • Flink is strong on Iceberg and Hudi, which matters for streaming ingestion.
  • Redshift Spectrum support lags all three; verify against your cluster version rather than a blog post.

The gravity here is real. Iceberg’s REST catalog specification has become the interop point that other vendors implement, which is why Delta added UniForm: a Delta table can publish Iceberg metadata alongside its own so foreign engines can read it. That is a strong signal about which way the ecosystem is pointing, and it is also a legitimate way to keep Delta as your write format without stranding readers.

The part that never appears in the demo

All three shift work from write time to maintenance time, and all three will degrade into a small-file swamp if you skip it. Budget the compute for these before you migrate anything, and schedule them as first-class DAGs with alerting, not as a # TODO in a notebook:

-- Iceberg, as Spark stored procedures
CALL catalog.system.rewrite_data_files(table => 'events.clicks', options => map('target-file-size-bytes','536870912'));
CALL catalog.system.rewrite_manifests(table => 'events.clicks');
CALL catalog.system.expire_snapshots(table => 'events.clicks', older_than => TIMESTAMP '2026-04-01 00:00:00');
CALL catalog.system.remove_orphan_files(table => 'events.clicks');
-- Delta
OPTIMIZE events.clicks WHERE dt >= '2026-04-01' ZORDER BY (user_id);
VACUUM events.clicks RETAIN 168 HOURS;

Hudi can run compaction and cleaning inline with the writer or asynchronously. Inline is simpler to reason about and makes your ingestion job slower and spikier; async is better behaved and is another service to run. There is no third option where the work does not happen.

Two operational traps worth naming. expire_snapshots and VACUUM are what actually delete storage, so time travel and your storage bill are the same dial; if you never expire, you are paying to keep every version forever. And remove_orphan_files compares a file listing against the metadata, so running it while a writer is mid-commit can delete live data. Give it a conservative age threshold.

Concurrency, briefly

All three use optimistic concurrency: a writer prepares a commit, then atomically swaps a pointer, and retries if someone beat it. Conflicts are driven by overlap, so two jobs writing disjoint partitions are usually fine and two jobs rewriting the same partition are not.

The part to check is what provides the atomic swap. Iceberg needs a catalog that can do a compare-and-swap on the table pointer: Glue, Hive Metastore, Nessie or a REST catalog. Delta needs the storage layer to guarantee a mutually exclusive log write, which on S3 historically meant an external coordinator such as the DynamoDB LogStore; conditional writes on S3 have since made that simpler, but only on recent Delta versions. Assuming multi-writer safety without checking is how you get a silently truncated table.

How I would actually decide

Skip the benchmark. Answer four questions.

  1. Is the table append-mostly and read by many engines? Iceberg. Hidden partitioning and catalog interop are worth more than anything else on the list.
  2. Is it CDC upserts on a real primary key, at high frequency, with sub-hour freshness targets? Hudi merge-on-read, and accept that you now own an index and a compaction schedule.
  3. Is the platform Databricks end to end? Delta, with liquid clustering, and revisit only if a foreign engine needs read access, at which point UniForm is the cheaper answer than a migration.
  4. Is a decision genuinely 50/50? Pick the one your team can operate at 3am. Runtime differences you can tune later; a maintenance model nobody understands is permanent.

The migration cost, when it comes, is mostly not in the write path. It is in the catalog wiring, the permissions, the maintenance jobs and every downstream consumer that hard-coded a path. Plan for that, not for the rewrite.

All writing