gabrnavarro opened a new pull request, #849: URL: https://github.com/apache/iceberg-go/pull/849
## What changed - Added `ParquetBatchSizeKey` (`read.parquet.batch-size`) and `ParquetBatchSizeDefault` (131072) constants to the internal and public properties packages. - Added `WithTableProperties` / `TablePropertiesFromContext` context helpers in `table/internal` to carry table properties through the read path. - `arrowScan.GetRecords` injects the table's `Metadata.Properties()` into the context before any file reads (data files and delete files). - `ParquetFileSource.GetReader` reads `read.parquet.batch-size` from context properties instead of hardcoding `1 << 17`. ## Why `parquet_files.go` hardcoded `BatchSize: 1 << 17` with a TODO comment to grab it from context. The write path already reads page row limit from table properties via `ParquetPageRowLimitKey`; this PR brings the read path into alignment. Fixes #846 ## Testing - Added `TestParquetBatchSizeFromTableProperties` in `table/internal/parquet_files_test.go` covering default, custom, and invalid values. - All existing unit tests pass (`go test ./...`). -- 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]
