[ 
https://issues.apache.org/jira/browse/ARROW-6358?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16916819#comment-16916819
 ] 

Wes McKinney commented on ARROW-6358:
-------------------------------------

So another way to "skin this cat" is simply to not delete buckets in any of the 
generic filesystem APIs, and instead add a "DeleteBucket" function that is 
S3-specific. Not sure how challenging this would be to incorporate into the 
testing regimen

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

Reply via email to