Apache Iceberg vs Parquet: not rivals. What's under the water
Parquet is a file format; Apache Iceberg is a table format: a tree of metadata (metadata.json, manifest list, manifests) over ordinary Parquet files. What it adds that a folder of Parquet can't do safely, Netflix's 9.6-minutes-to-10-seconds planning numbers, spec versions v1 to v3, and when you don't need it.
In 2018, Netflix sent a proposal to the Apache Incubator with one striking number. One month of their Atlas metrics was stored as 2.7 million Parquet files in 2,688 partitions. On the plain Hive table, just planning a query took 9.6 minutes: no rows read yet. On the same data as an Iceberg table, planning took 10 seconds, and with min/max filtering the whole query finished in 42 seconds, before the Hive table would have finished planning.
So is Iceberg a faster Parquet? No. “Apache Iceberg vs Parquet” is one of the most searched comparisons in this space, and the honest answer is that they aren’t competitors. Iceberg doesn’t store a single row of your data. Every row is still in a Parquet (or ORC, or Avro) file. Iceberg is what sits around those files. This post walks through what’s under the water, layer by layer, and ends with when you don’t need it. Nothing was benchmarked for this post; all numbers are quoted from the linked sources.
Parquet is a file format
The Parquet docs describe it as “an open source, column-oriented data file format designed for efficient data storage and retrieval.” A Parquet file knows a lot about itself: its schema and types, its row groups and column chunks, and a min and max per column chunk in its footer (yesterday’s post opens one up).
What a Parquet file doesn’t know is anything about the other files next to it. The format has no idea of a table: no list of which files belong to it, no commits, no history. So a “Parquet table” in practice is a folder (or an object-store prefix), and the table is whatever a reader finds when it lists that folder.
That causes three problems at scale:
- Listing is slow and paged. On S3, a ListObjectsV2 request “returns some or all (up to 1,000) of the objects in a bucket with each request.” A million files under one prefix is at least a thousand requests, one page after another.
- No atomic commits. If a writer crashes after 412 of 900 files, anyone listing the folder sees half a job. Iceberg’s reliability page puts it bluntly: tracking files through a metastore plus a file system “makes atomic changes to a table’s contents impossible”, and planning needs “many slow listing calls: O(n) with the number of partitions.”
- The layout is welded to the queries. In Hive-style partitioning you add a column like
event_date, fill it yourself, and remember to filter on it.
Iceberg is a table format
The Iceberg spec opens with: “a specification for the Iceberg table format that is designed to manage a large, slow-changing collection of files … as a table.” And: “This table format tracks individual data files in a table instead of directories.”
The tree, from the bottom up (format versions 1 to 3):
| Layer | What it holds | Why it matters |
|---|---|---|
| Data files | Your rows, in Parquet, ORC or Avro | Unchanged; Iceberg never rewrites them for metadata changes |
| Manifest files (Avro) | One row per data file: partition values, value_counts, null_value_counts, lower_bounds, upper_bounds |
Skip files by min/max before opening them |
| Manifest list | One per snapshot; a range of partition values and file counts per manifest | “Used to avoid reading manifests that are not required” |
metadata.json |
Schemas, partition specs, the list of snapshots, the current snapshot | One file describes one complete version of the table |
| Catalog pointer | Which metadata.json is current |
The only thing a commit changes in place |
Commits are a pointer swap. A writer writes its new data files, manifests and a new <V+1>-<uuid>.metadata.json, then asks the catalog to swap the table’s pointer from version V to V+1 with a check-and-put. In the spec’s words: “All changes to table state create a new metadata file and replace the old metadata with an atomic swap.” Readers use the snapshot that was current when they loaded the table, so they see the old table or the new one, never half. If two writers race, “only one commit will succeed”; the other retries on top of the new state. (The old rename-based scheme for plain file systems is now marked deprecated and “unsafe in object stores”.)
A small twist: the proposal’s first guarantee is atomicity, “Each change to the table … will be complete or will fail”, followed by the quote “Do or do not. There is no try.” Yoda made it into an Apache incubator proposal.
Why planning got 58× faster
With the tree in place, planning a scan reads one metadata.json, one manifest list, and only the manifests whose partition ranges can match. No directory listing at all. The spec’s goal is “O(1) remote calls to plan the files for a scan and not O(n) where n grows with the size of the table”. The performance page adds that column-level counts and lower/upper bounds then “eliminate files that cannot match the query predicate.”
Netflix’s table shows both steps. Partition filtering cut planning from 9.6 minutes to 10 seconds (15,218 combined splits instead of 400k+). Adding min/max filtering cut the work to 412 splits and the whole query to 42 seconds. The proposal doesn’t give the hardware or the query, so treat these as Netflix’s reported numbers, not a benchmark you can reproduce.
What else the metadata buys you
Time travel. Every commit leaves the previous snapshot in place, so you can read the past. In Spark:
SELECT * FROM db.events TIMESTAMP AS OF '2026-11-17 10:00:00';
SELECT * FROM db.events VERSION AS OF 10963874102873;
The catch: the past expires. Expiring snapshots is listed as recommended maintenance, and history.expire.max-snapshot-age-ms defaults to 432,000,000 ms, which is 5 days (configuration). Time travel only reaches as far back as the snapshots you keep.
Schema evolution by ID. Every column has an ID, and the spec requires “Column IDs … to be stored as field IDs on the parquet schema.” Reads select columns by ID, so a rename changes the name, not the ID, and no file is rewritten: “Iceberg schema updates are metadata changes” (evolution). Drop a column and add a new one with the same name and it gets a new ID, so old values can’t come back; formats that track columns by name “can inadvertently un-delete a column if a name is reused”.
Hidden partitioning. You partition by a transform of a real column, such as day(event_time), and Iceberg derives the value. In Hive you maintain an event_date column yourself, and “using the wrong format, 2018-12-01 instead of 20181201, produces silently incorrect results, not query failures” (partitioning). You can also change the partitioning later: “the old data written with an earlier spec remains unchanged. New data is written using the new spec”, and both layouts live in one table.
Row-level deletes, by spec version. Parquet files are immutable, so deleting one row used to mean rewriting the file.
| Spec version | Status | What it added |
|---|---|---|
| v1 | adopted | Analytic tables of immutable Parquet, Avro and ORC files; no row-level deletes |
| v2 | adopted | Delete files: by position (file + row number) or by value (equality deletes) |
| v3 | adopted | Deletion vectors (a bitmap per data file) replace new position delete files; variant, geometry/geography and nanosecond timestamp types; column default values; row lineage; table encryption keys |
| v4 | “under active development” | Adaptive metadata tree, root manifest instead of a manifest list, no new equality deletes |
Iceberg’s Java library has defaulted new tables to format-version 2 since release 1.4.0.
Who reads Iceberg
One table, many engines, each with its own feature list: Spark, Flink, Trino, DuckDB (direct reads from storage are read-only; writing needs an Iceberg REST catalog), ClickHouse and Snowflake.
ClickHouse’s docs, for example, say it reads Iceberg v1 and v2, that “support for v3 is partial: deletion vector reads are supported”, that time travel works with the iceberg_timestamp_ms or iceberg_snapshot_id settings, and that writes (INSERT) arrived in 25.7 as a beta feature behind allow_insert_into_iceberg. Check your engine’s page before you pick a spec version.
And Delta Lake? Same goal, different design. The Delta protocol brings “ACID properties to large collections of data, stored as files” with an ordered transaction log of commits next to the Parquet data, where Iceberg uses a tree of metadata plus a catalog pointer. That comparison deserves its own post.
When you don’t need Iceberg
- A few files that one job rewrites at once. A nightly export replaced wholesale doesn’t need commits or history.
- One engine that already has real tables. A warehouse, or ClickHouse’s own MergeTree storage, already gives you atomic inserts and its own metadata. Iceberg earns its keep when several engines share the same files on object storage.
- Append-only data you always read whole. Pruning and time travel buy little if every query scans everything.
And it isn’t free. Each write is a snapshot, so snapshots, old metadata.json files and small files pile up. The maintenance docs recommend expiring snapshots and removing old metadata files, and suggest compacting small data files (“small data files causes an unnecessary amount of metadata and less efficient queries from file open costs”) and deleting orphan files. Someone has to schedule that.
The short version
- Parquet is a file format: great inside one file, blind to the others.
- Iceberg is a table format:
metadata.json→ manifest list → manifests → your unchanged Parquet files, with a catalog pointer on top. - That tree gives you atomic commits, snapshots and time travel (until they expire), renames by column ID, hidden and evolving partitions, row-level deletes, and planning without listing directories.
- Netflix’s reported result: 9.6 minutes of planning on a plain Parquet table became 10 seconds on Iceberg.
Sources: Apache Iceberg table spec · Iceberg docs: reliability, performance, partitioning, evolution, Spark queries, maintenance, configuration · Iceberg Proposal, Apache Incubator and incubation record (entered 2018-11-16, graduated 2020-05-20) · Apache Parquet docs · AWS ListObjectsV2 · Delta Transaction Protocol · engine docs linked above.