efegokdemir opened a new pull request, #11700: URL: https://github.com/apache/arrow-rs/pull/11700
# Which issue does this PR close? - Closes #11691 # Rationale for this change A truncated bit-packed definition-level run currently panics while building a bitmap instead of returning a Parquet EOF error. # What changes are included in this PR? Validate the packed payload before `read` or `skip` consumes it. Add decoder tests for both paths and a Parquet reader regression based on the issue reproduction. AI assistance was used to draft the implementation and tests. # Are these changes tested? The Parquet library suite passed (1,434 tests), as did formatting. The reader regression panics on unchanged main and returns EOF with this fix. Local Clippy completed with an unknown-lint warning because the installed Rust 1.98.1 is older than the repository’s pinned 1.99.1. # Are there any significant user-facing changes? Malformed input now returns EOF instead of panicking; valid files are unaffected. -- 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]
