[ https://issues.apache.org/jira/browse/ARROW-6358?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16916134#comment-16916134 ]
Rok Mihevc edited comment on ARROW-6358 at 8/26/19 8:57 PM: ------------------------------------------------------------ AFAIK folders don't really exist in S3. Once objects inside a folder are deleted the folder no longer exists. So deleting the contents and deleting the folder are the same thing. See: https://stackoverflow.com/questions/42442259/delete-a-folder-and-its-content-aws-s3-java was (Author: rokm): AFAIK folders don't really exist in S3. Once objects inside a folder are delete the folder no longer exists. So deleting the contents and folder are the same thing See: https://stackoverflow.com/questions/42442259/delete-a-folder-and-its-content-aws-s3-java > [C++] FileSystem::DeleteDir should make it optional to delete the directory > itself > ---------------------------------------------------------------------------------- > > Key: ARROW-6358 > URL: https://issues.apache.org/jira/browse/ARROW-6358 > Project: Apache Arrow > Issue Type: Improvement > Components: C++ > Affects Versions: 0.14.1 > Reporter: Antoine Pitrou > Priority: Major > > In some situations, it can be desirable to delete the entirety of a > directory's contents, but not the directory itself (e.g. when it's a S3 > bucket). Perhaps we should add an option for that. -- This message was sent by Atlassian Jira (v8.3.2#803003)