hcrosse opened a new issue, #2819: URL: https://github.com/apache/iceberg-go/issues/2819
### Feature Request / Improvement The Parquet writer currently rotates row groups when `RowGroupTotalBytesWritten` reaches `write.parquet.row-group-size-bytes`. Because `RowGroupTotalBytesWritten` in `arrow-go` counts bytes only after pages have been flushed and compressed, that check tracks flushed size rather than the data buffered in memory. When compression ratios are high or schemas have many columns that stay below `write.parquet.page-size-bytes` or keep active dictionaries, flushed bytes lag far behind buffered memory. As a result, an open Parquet writer can buffer well beyond the configured target size until it reaches `write.parquet.row-group-limit`. Upstream tracking: apache/arrow-go#1727 and apache/arrow-go#1728 propose adding `RowGroupEstimatedBufferedBytes` to `pqarrow.FileWriter`. Once `iceberg-go` uses an `arrow-go` release with that method, the Parquet writer can rotate row groups using estimated buffered bytes instead of flushed bytes, matching how Iceberg Java checks buffered size against the row group target. -- 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]
