# Apache Iceberg Write Distribution Modes: None, Hash, Range, and File Sizing

DevFeed: [Apache Iceberg Write Distribution Modes: None, Hash, Range, and File Sizing](<https://devfeed.tech/articles/apache-iceberg-write-distribution-modes-none-hash-range-and-file-sizing-102843.md>)

Original publisher: [Read original article](<https://www.dremio.com/blog/apache-iceberg-write-distribution-modes-none-hash-range-and-file-sizing/>)

Author: Alex Merced

Published: 2026-10-27T18:56:55Z

Content type: article

Language: en

Sources: [Dremio](<https://devfeed.tech/sources/dremio.md>)

Topics: [Apache Iceberg](<https://devfeed.tech/topics/apache-iceberg.md>), [Apache Spark](<https://devfeed.tech/topics/spark.md>), [hashing](<https://devfeed.tech/topics/hashing.md>)

Tags: [adaptive](<https://devfeed.tech/tags/adaptive.md>), [apache-iceberg](<https://devfeed.tech/tags/apache-iceberg.md>), [apache-spark](<https://devfeed.tech/tags/apache-spark.md>), [data-lakehouse](<https://devfeed.tech/tags/data-lakehouse.md>), [distribution](<https://devfeed.tech/tags/distribution.md>), [dremio-blog-open-data-insights](<https://devfeed.tech/tags/dremio-blog-open-data-insights.md>), [execution](<https://devfeed.tech/tags/execution.md>), [file](<https://devfeed.tech/tags/file.md>), [hash](<https://devfeed.tech/tags/hash.md>), [iceberg](<https://devfeed.tech/tags/iceberg.md>), [none](<https://devfeed.tech/tags/none.md>), [range](<https://devfeed.tech/tags/range.md>), [spark](<https://devfeed.tech/tags/spark.md>), [target](<https://devfeed.tech/tags/target.md>), [write](<https://devfeed.tech/tags/write.md>)

## AI overview

Iceberg write distribution controls how Spark groups rows before creating files: none adds no grouping, hash shuffles by partition columns, and range globally orders by partition and sort keys. Hash is a practical starting point for partitioned tables; none suits inputs already laid out for writing; range can improve clustering and pruning when sort keys match common queries, at the cost of extra planning, memory, and job time. The target file size is an estimate rather than a guarantee: task input, skew, and compression affect actual file sizes. The article recommends testing modes on representative data, tuning Spark shuffle partitions and adaptive execution, and checking file counts and size percentiles plus representative read performance. Verify property names and CTAS behavior for the deployed Spark and Iceberg versions.

## Source excerpt

Choose Iceberg write distribution mode none, hash, or range, then tune Spark adaptive execution and target file sizes for balanced, efficient writes. The post Apache Iceberg Write Distribution Modes: None, Hash, Range, and File Sizing appeared first on Dremio.