wulei0302 opened a new issue #3575: URL: https://github.com/apache/iceberg/issues/3575
Please help me look at this problem. When I use [ParquetValueReaders](https://github.com/apache/iceberg/blob/d6cbca0c2fb3d10083b304bcbdf16bf51e3b586b/parquet/src/main/java/org/apache/iceberg/parquet/ParquetValueReaders.java#L333****) to read binary and blob data that can be converted to betybuffer, I found that the first record can read the value normally, but from the second record, betybuffer field`s value is equal to null . It looks like "reuse.limit(data.remaining());" should be changed to "reuse.limit(binary.length());" The reason is that remaining is 0 after data.get() Thanks Reply -- 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]
