gszadovszky opened a new issue, #3315: URL: https://github.com/apache/parquet-java/issues/3315
### Describe the bug, including details regarding any error messages, version, and platform. Reading binary values out of variant returns a `ByteBuffer` instance sliced from the original input `ByteBuffer`. The problem is that the length of the binary value is not taken into account during the slicing, so the entire remaining buffer (slice) is returned. See at [VariantUtil.getBinary](https://github.com/apache/parquet-java/blob/apache-parquet-1.16.0/parquet-variant/src/main/java/org/apache/parquet/variant/VariantUtil.java#L615) ### Component(s) _No response_ -- 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]
