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

Antoine Pitrou resolved ARROW-12790.
------------------------------------
    Fix Version/s: 5.0.0
       Resolution: Fixed

Issue resolved by pull request 10574
[https://github.com/apache/arrow/pull/10574]

> [Python] Cannot read from HDFS with blanks in path names
> --------------------------------------------------------
>
>                 Key: ARROW-12790
>                 URL: https://issues.apache.org/jira/browse/ARROW-12790
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: C++, Python
>    Affects Versions: 4.0.0
>            Reporter: Armin Müller
>            Assignee: Antoine Pitrou
>            Priority: Major
>              Labels: filesystem, hdfs, pull-request-available
>             Fix For: 5.0.0
>
>          Time Spent: 1.5h
>  Remaining Estimate: 0h
>
> I have a Hadoop FS with blanks in path and filenames.
> Running this
> {{hdfs = fs.HadoopFileSystem('namenode', 8020)}}
> {{files = hdfs.get_file_info(fs.FileSelector("/", recursive=True))}}
> throws a
> {{pyarrow.lib.ArrowInvalid: Cannot parse URI: 'hdfs://namenode:8020/data/Path 
> with Blank'}}
> How can I avoid that?
> Strangely enough, reading a file with
> {{hdfs.open_input_file(csv_file)}}
> works just fine regardless of the blanks?



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

Reply via email to