You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Micah Kornfield (Jira)" <ji...@apache.org> on 2022/04/21 15:58:00 UTC
[jira] [Created] (ARROW-16270) [C++][Python][FileSystem] Make directory paths returned uniform
Micah Kornfield created ARROW-16270:
---------------------------------------
Summary: [C++][Python][FileSystem] Make directory paths returned uniform
Key: ARROW-16270
URL: https://issues.apache.org/jira/browse/ARROW-16270
Project: Apache Arrow
Issue Type: Improvement
Components: C++, Python
Reporter: Micah Kornfield
Depending on if paths are selected with recursion or without code the result of the returned directories changes to include a slash or not include a slash (see code linked below). It would be nice to provide consistent output here. It isn't clear i the breaking change is worthwhile here.
[1] https://github.com/apache/arrow/blob/3eaa7dd0e8b3dabc5438203331f05e3e6c011e37/python/pyarrow/tests/test_fs.py#L688
[2] https://github.com/apache/arrow/blob/3eaa7dd0e8b3dabc5438203331f05e3e6c011e37/cpp/src/arrow/filesystem/test_util.cc#L767
--
This message was sent by Atlassian Jira
(v8.20.7#820007)