[
https://issues.apache.org/jira/browse/ARROW-14930?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17452514#comment-17452514
]
Luis Morales edited comment on ARROW-14930 at 12/2/21, 5:13 PM:
----------------------------------------------------------------
Tried three things:
(the bucket as a FileSelector object and recursively. OK)
*scality.get_file_info(fs.FileSelector("dasynth/", recursive=True))*
<it gives me every folder and file under dasynth bucket>
(the bucket as a path. OK)
*scality.get_file_info("dasynth/")*
<FileInfo for 'dasynth/': type=FileType.Directory>
(a folder under the bucket as a path. KO)
*scality.get_file_info("dasynth/parquet/")*
<FileInfo for 'dasynth/parquet/': type=FileType.NotFound>
(a folder under the bucket as a FIleSelector object. OK)
*scality.get_file_info(fs.FileSelector("dasynth/parquet/"))*
[<FileInfo for 'dasynth/parquet/': type=FileType.Directory>]
was (Author: JIRAUSER281000):
Tried three things:
(the bucket as a FileSelector object and recursively. OK)
*scality.get_file_info(fs.FileSelector("dasynth/", recursive=True))*
<it gives me every folder and file under dasynth bucket>
(the bucket as a path. OK)
*scality.get_file_info("dasynth")*
<FileInfo for 'dasynth/': type=FileType.Directory>
(a folder under the bucket as a path. KO)
*scality.get_file_info("dasynth/parquet/")*
<FileInfo for 'dasynth/parquet/': type=FileType.NotFound>
(a folder under the bucket as a FIleSelector object. OK)
*scality.get_file_info(fs.FileSelector("dasynth/parquet"))*
[<FileInfo for 'dasynth/parquet/taxies': type=FileType.Directory>]
> [Python] FileNotFound when using bucket+folders in S3 + partitioned parquet
> ---------------------------------------------------------------------------
>
> Key: ARROW-14930
> URL: https://issues.apache.org/jira/browse/ARROW-14930
> Project: Apache Arrow
> Issue Type: Bug
> Components: Python
> Affects Versions: 6.0.1
> Environment: linux + python 3.8
> Reporter: Luis Morales
> Priority: Trivial
> Fix For: 6.0.2
>
>
> When using dataset.Dataset with S3FileSystem with compatible S3 object
> sotrage, get an FileNotFoundError.
>
> My code:
>
> scality = fs.S3FileSystem(access_key='accessKey1',
> secret_key='verySecretKey1', endpoint_override="http://localhost:8000",
> region="")
> data = ds.dataset("dasynth/parquet/taxies/2019_june/", format="parquet",
> partitioning="hive", filesystem=scality)
--
This message was sent by Atlassian Jira
(v8.20.1#820001)