Hidden partitioning is the real reason to pick Iceberg

source: Apache Iceberg docs — Partitioning

Most Iceberg comparisons talk about ACID, time travel and schema evolution. Those matter, but the feature that changed how our warehouse was used day to day was hidden partitioning.

In a Hive-style table, partitioning is a column you have to know about. Analysts wrote WHERE event_date = '2025-03-01' because the table was partitioned by event_date, and the moment someone filtered on the underlying timestamp instead, the query scanned everything. Every partition scheme leaked into every query. Changing the scheme meant rewriting the table and every query that depended on it.

Iceberg stores the partition transform in table metadata (days(ts), bucket(16, id), truncate(…)) and applies it itself. A query that filters on ts is pruned correctly without the author knowing a partition exists. When we moved tables over, the first visible effect was not speed. It was that the ad-hoc queries people had been writing wrong for a year started being right.

Two things follow from that:

  1. Partition evolution becomes a metadata change. We changed a table from daily to hourly partitions for new data without touching old files or old queries.
  2. You can finally partition for the physical layout, not for the query author. Buckets by customer id are fine when nobody has to type bucket_id in a filter.

If I had to justify the migration with one sentence, it would be this one, not the transaction guarantees.