mrdrivingduck commented on code in PR #189:
URL: https://github.com/apache/paimon-cpp/pull/189#discussion_r3754853740


##########
include/paimon/fs/file_system.h:
##########
@@ -193,6 +193,15 @@ class PAIMON_EXPORT FileSystem {
     ///         failure (e.g., file not found, permission denied).
     virtual Result<std::unique_ptr<InputStream>> Open(const std::string& path) 
const = 0;
 
+    /// Open an existing file for reading with a known file size.
+    ///
+    /// File systems that can use the size to avoid metadata requests may 
override this method.
+    /// The default implementation ignores the size and opens the file 
normally.
+    virtual Result<std::unique_ptr<InputStream>> Open(const std::string& path,

Review Comment:
   Done.



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

Reply via email to