hcrosse opened a new pull request, #2827:
URL: https://github.com/apache/iceberg-go/pull/2827

   This PR exposes four Go-specific Parquet reader properties backed by 
`arrow-go` v18.9.0 alongside the existing page-size limits, with table defaults 
and per-scan `table.WithOptions` overrides:
   
   - `read.parquet.page-streaming-enabled` (default false) enables incremental 
decoding for eligible unencrypted PLAIN binary pages over 1 MiB without adding 
extra `ReadAt` calls.
   - `read.parquet.buffered-stream-enabled` (default false) streams column 
chunks through a buffered reader instead of buffering each compressed chunk in 
memory, leaving remote object-store request counts unchanged by default.
   - `read.parquet.buffer-size-bytes` (default 16 KiB) sets the buffered-stream 
read buffer size when buffered streaming is enabled.
   - `read.parquet.pre-alloc-binary-data` (default false) pre-allocates Arrow 
binary builder buffers from row-group uncompressed size metadata.
   
   All explicit values are validated strictly with `iceberg.ErrInvalidArgument` 
before reader goroutines start. This PR also validates and attaches table 
reader properties before folding v2 position deletes during v3 merge-on-read 
deletes, so classic position-delete folding honors the table's reader settings 
instead of defaults.
   
   On Apple M4 Max (4 workers, Zstd), enabling 
`read.parquet.pre-alloc-binary-data` cut allocation bytes by 18.5% on a 
64-column scan and 23.3% on large PLAIN strings (29.2% combined with 
`read.parquet.page-streaming-enabled`) with identical `ReadAt` counts.
   
   Tested across unit validation, copy-isolated dictionary pruning, 
counting-`ReadAt` buffered-stream scans, runtime page-streaming and 
binary-preallocation memory checks, v2-to-v3 position-delete folding, and 
zero-leak checked-allocator scans under `-race`. Documentation is updated in 
`website/src/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]

Reply via email to