You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "coolacid (via GitHub)" <gi...@apache.org> on 2023/09/28 16:31:26 UTC
[GitHub] [arrow] coolacid commented on issue #36983: [Python] Different get_file_info behaviour between pyarrow.fs.S3FileSystem and s3fs
coolacid commented on issue #36983:
URL: https://github.com/apache/arrow/issues/36983#issuecomment-1739657172
>
> ```
> pa_s3_fs.get_file_info(selector)
> >>> [<FileInfo for 'my_bucket/my_dataset_path/': type=FileType.File, size=0>,
> <FileInfo for 'my_bucket/my_dataset_path/part-0.parquet': type=FileType.File, size=1707552354>]
> ```
One thing to note: I believe that "directories" provide the ending `/` as well as size=0. Would this not work as a filter to remove these items?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org