JingsongLi commented on code in PR #6525:
URL: https://github.com/apache/paimon/pull/6525#discussion_r2496984621
##########
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:
This method should not in here. Why need to invoke `FileIO`?
`TwoPhaseOutputStream` is created by `FileIO`.
--
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]