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


##########
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:
   Aaah, this code is relatively new, I didn't have it in my local copy. 
HadoopFileIO.deletePrefix() is actually the same I implemented now, so 
apparently someone also needed this but was a bit faster than me :)



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