You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Neal Richardson (Jira)" <ji...@apache.org> on 2020/06/18 15:20:00 UTC

[jira] [Assigned] (ARROW-7208) [Python] Passing directory to ParquetFile class gives confusing error message

     [ https://issues.apache.org/jira/browse/ARROW-7208?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Neal Richardson reassigned ARROW-7208:
--------------------------------------

    Assignee: Krisztian Szucs

> [Python] Passing directory to ParquetFile class gives confusing error message
> -----------------------------------------------------------------------------
>
>                 Key: ARROW-7208
>                 URL: https://issues.apache.org/jira/browse/ARROW-7208
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: Python
>    Affects Versions: 0.15.1
>            Reporter: Roelant Stegmann
>            Assignee: Krisztian Szucs
>            Priority: Major
>              Labels: parquet
>             Fix For: 1.0.0
>
>
> Somehow have the same errors. We are working with pyarrow 0.15.1, trying to access a folder of `parquet` files generated with Amazon Athena.
> ```python
> table2 = pq.read_table('C:/Data/test-parquet')
> ```
> works fine in contrast to
> ```python
> parquet_file = pq.ParquetFile('C:/Data/test-parquet')
> # parquet_file.read_row_group(0)
> ```
> which raises
> `ArrowIOError: Failed to open local file 'C:/Data/test-parquet', error: Access is denied.`



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