jerry-024 commented on code in PR #6525:
URL: https://github.com/apache/paimon/pull/6525#discussion_r2497104022


##########
paimon-common/src/main/java/org/apache/paimon/fs/FileIO.java:
##########
@@ -113,6 +113,21 @@ default TwoPhaseOutputStream newTwoPhaseOutputStream(Path 
path, boolean overwrit
         return new RenamingTwoPhaseOutputStream(this, path, overwrite);
     }
 
+    /**
+     * Create a MultiPartUploadStore for multipart upload.
+     *
+     * @param path the file target path
+     * @return a MultiPartUploadStore
+     * @throws IOException Thrown, if the store could not be created because 
of an I/O.
+     * @throws UnsupportedOperationException if the filesystem does not 
support multipart upload
+     */
+    default MultiPartUploadStore newMultiPartUploadStore(Path path) throws 
IOException {

Review Comment:
   When committing, we need to use FileIO to get MultiPartUploadStore.



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