sunchao opened a new pull request, #3797: URL: https://github.com/apache/parquet-java/pull/3797
### Rationale for this change Backport #3748 to `parquet-1.19.x` to fix column-index filtering returning a value from an earlier row when the final selected row requires advancing to another page. ### What changes are included in this PR? Clean cherry-pick of 243188883c191f32ab4b1936086362f33eeaf3af, with no adaptations. Keep `SynchronizingColumnReader` active until its final selected row is reached, and include the original four regression tests covering optional/repeated columns and V1/V2 pages. ### Are these changes tested? Validated on `parquet-1.19.x` at `d29073e0dfa1dd9048b3bcee920b56e29ab1ad59` using Java 17, Maven 3.9.16, and Thrift 0.24.0: - `./mvnw -pl parquet-column -am -Dtest=TestColumnReaderImpl -Dsurefire.failIfNoSpecifiedTests=false test`: **7 tests passed**, including all four backported regressions. - `./mvnw -pl parquet-column -am spotless:check`: passed. - `git diff --check`: passed; the backport patch matches the original merged commit. ### Are there any user-facing changes? Column-index filtering returns the correct value for the final selected row. No public API or file-format changes. Original PR: #3748. Related issue: #3747. -- 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]
