You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Joris Van den Bossche (Jira)" <ji...@apache.org> on 2019/11/20 08:02:00 UTC
[jira] [Updated] (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 ]
Joris Van den Bossche updated ARROW-7208:
-----------------------------------------
Summary: [Python] Passing directory to ParquetFile class gives confusing error message (was: Arrow using ParquetFile class)
> [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)