You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Roelant Stegmann (Jira)" <ji...@apache.org> on 2019/11/20 08:40:00 UTC

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=16978199#comment-16978199 ] 

Roelant Stegmann commented on ARROW-7208:
-----------------------------------------

{{Thanks. But then how to read just a chunk of the data and not all? Don't find it in the DataSet docs. :)}}

> [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
>            Priority: Major
>
> 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)