nastra commented on code in PR #16363:
URL: https://github.com/apache/iceberg/pull/16363#discussion_r3450625553
##########
core/src/main/java/org/apache/iceberg/TableProperties.java:
##########
@@ -180,6 +180,16 @@ private TableProperties() {}
"write.parquet.bloom-filter-max-bytes";
public static final int PARQUET_BLOOM_FILTER_MAX_BYTES_DEFAULT = 1024 * 1024;
+ // Enables parquet-mr's adaptive bloom filter sizing (PARQUET-2326). When
true,
+ // the writer evaluates ~5 candidate bloom filters and picks the smallest
that
+ // satisfies actual NDV at FPP, instead of always allocating
+ // `bloom-filter-max-bytes`. Significantly reduces file size for
low-row-count
+ // writes (e.g., streaming microbatches) that would otherwise pad the parquet
+ // file with an empty `bloom-filter-max-bytes` buffer.
Review Comment:
please also update `configuration.md`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]