AnirudhSriram opened a new pull request, #2704: URL: https://github.com/apache/iceberg-go/pull/2704
Closes #2702 arrow-go checks the data page size only between write batches, and the batch size was `write.parquet.page-row-limit` (20000). With large values a page grew to about 20000 × the value size, which can pass arrow-go's 64 MiB default read limit. This caps the write batch at 32 rows, so pages stay near `write.parquet.page-size-bytes` for values up to 32 KiB. - 32 is a starting point. I can make it a property or derive it from the page size if you prefer. - A `page-row-limit` above 32 no longer changes anything. arrow-go has no rows-per-page option, so the property only set the batch size. I added a note to the configuration docs. - Cost: in a local benchmark (1M rows of int64, float64 and short strings, default properties), writes took about 88.5 ms instead of 85.2 ms (about 4%). Tests: a new test writes 4000 rows of 10 KiB values and checks that no page is over 2 × the page size. On main the largest page is 40,976,000 bytes. `TestDeleteParquetSettingsOnDisk` now expects the capped batch size for data files. `make lint` and `go test ./...` pass. 🤖 Generated with [Claude Code](https://claude.com/claude-code) -- 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]
