yihua commented on code in PR #11048: URL: https://github.com/apache/hudi/pull/11048#discussion_r1569866172
########## hudi-io/src/main/java/org/apache/hudi/storage/HoodieStorage.java: ########## @@ -332,6 +350,18 @@ public boolean createNewFile(StoragePath path) throws IOException { } } + /** + * Opens an SeekableDataInputStream at the indicated path with seeks supported. + * + * @param path the file to open. + * @return the InputStream to read from. + * @throws IOException IO error. + */ + @PublicAPIMethod(maturity = ApiMaturityLevel.EVOLVING) + public SeekableDataInputStream openSeekable(StoragePath path) throws IOException { Review Comment: I think this one can still be overridden if the particular storage implementation provides optimization on this one. -- 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: commits-unsubscr...@hudi.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org