You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Krisztian Szucs (Jira)" <ji...@apache.org> on 2019/09/25 12:36:00 UTC

[jira] [Created] (ARROW-6685) [C++/Python] S3 FileStat object's base_path and type depends on trailing slash

Krisztian Szucs created ARROW-6685:
--------------------------------------

             Summary: [C++/Python] S3 FileStat object's base_path and type depends on trailing slash
                 Key: ARROW-6685
                 URL: https://issues.apache.org/jira/browse/ARROW-6685
             Project: Apache Arrow
          Issue Type: Improvement
          Components: Python
            Reporter: Krisztian Szucs


The current behaviour is:

{code:python}
s3fs.create_dir('bucket/directory/')
stats = s3fs.get_target_stats(['bucket/directory/'])
stats[0].type == FileType.File
stats[0].base_name == '/'
{code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)