[
https://issues.apache.org/jira/browse/ARROW-12790?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Antoine Pitrou reassigned ARROW-12790:
--------------------------------------
Assignee: Antoine Pitrou
> [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
>
> 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)