cxzl25 commented on code in PR #6512:
URL: https://github.com/apache/paimon/pull/6512#discussion_r3225630643


##########
paimon-common/src/main/java/org/apache/paimon/fs/FileIO.java:
##########
@@ -226,6 +226,13 @@ default FileStatus[] listDirectories(Path path) throws 
IOException {
      */
     boolean delete(Path path, boolean recursive) throws IOException;
 
+    /**
+     * Move the path to trash.
+     *
+     * @param path the path to move to trash.
+     */
+    boolean moveToTrash(Path path) throws IOException;

Review Comment:
   ```suggestion
       default boolean moveToTrash(Path path) throws IOException {
           throw new UnsupportedOperationException();
       }
   ```



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