steveloughran opened a new issue, #3080: URL: https://github.com/apache/parquet-java/issues/3080
### Describe the enhancement requested If a stream declares in its StreamCapabilities that it supports ByteBufferPositionedReadable, then use it for `readFully(ByteBuffer)` All streams in Hadoop 3.0.0 + do declare this. + use StreamCapabilities to look for `ByteBufferReadable`. For detecting ByteBufferReadable, use this probe falling back to the recursive scan. All streams in the hadoop codebase will report this via StreamCapabilities, but there may be some third-party streams which do not. ### 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: issues-unsubscr...@parquet.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@parquet.apache.org For additional commands, e-mail: issues-h...@parquet.apache.org