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)