You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Antoine Pitrou (Jira)" <ji...@apache.org> on 2019/09/25 12:41:00 UTC
[jira] [Commented] (ARROW-6684) [C++/Python]
S3FileSystem.create_dir should raise for a nested directory with recursive
keyword set to False
[ https://issues.apache.org/jira/browse/ARROW-6684?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16937691#comment-16937691 ]
Antoine Pitrou commented on ARROW-6684:
---------------------------------------
Hmm... This is a bit complicated for S3, because S3 implementations tend to implicitly create directories when they are missing (Amazon S3 storage is not directory-based, but some kind of key-value store).
I would tend to view it as a quirk and not fix it.
> [C++/Python] S3FileSystem.create_dir should raise for a nested directory with recursive keyword set to False
> ------------------------------------------------------------------------------------------------------------
>
> Key: ARROW-6684
> URL: https://issues.apache.org/jira/browse/ARROW-6684
> Project: Apache Arrow
> Issue Type: Improvement
> Components: Python
> Reporter: Krisztian Szucs
> Priority: Major
>
> {{s3fs.create_dir('bucket/deeply/nested/test-directory/', recursive=False)}} doesn't raise.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)