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

   ## What changed
   
   Continue padding shortened fixed-width bounds for compatibility, but reject 
inputs larger than the declared fixed width with `ErrInvalidBinSerialization`.
   
   ## Why
   
   The previous `len != width` branch copied every mismatched value into a 
width-sized buffer. Oversized values were silently truncated into a different 
valid value, which could corrupt bounds used for pruning.
   
   Regression coverage includes exact, shortened, empty, one-byte oversized, 
and substantially oversized inputs, with expected and actual lengths asserted 
for oversize errors.
   
   ## Testing
   
   - `go test .`
   - `go vet .`


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