fallintoplace opened a new pull request, #1012:
URL: https://github.com/apache/arrow-go/pull/1012

   ### Rationale for this change
   
   The delta binary packed decoder accepts header combinations that do not 
satisfy the Parquet encoding rules. Some combinations narrow into smaller Go 
fields or reach decoding with zero-sized miniblocks, producing inconsistent 
results instead of a decoder error.
   
   ### What changes are included in this PR?
   
   - Validate block size, miniblock count, values per miniblock, and encoded 
value count before narrowing them.
   - Reject a used delta bit width that exceeds the target integer width.
   - Keep validation of bit widths at use time so padding miniblocks remain 
compatible.
   
   ### Are these changes tested?
   
   Yes. Focused tests cover each invalid header invariant and an oversized used 
bit width.


-- 
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]

Reply via email to