pvary commented on code in PR #5159:
URL: https://github.com/apache/iceberg/pull/5159#discussion_r909552556


##########
api/src/main/java/org/apache/iceberg/io/FileIO.java:
##########
@@ -61,6 +61,13 @@ default void deleteFile(OutputFile file) {
     deleteFile(file.location());
   }
 
+  /**
+   * Delete a folder at a given path.
+   */
+  default void deleteFolder(String path) {
+    deleteFile(path);
+  }
+

Review Comment:
   We try to keep the FileIO as narrow as possible. Adding a new method could 
be problematic. How is this solved in other places where we try to remove 
directories?



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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to