[ 
https://issues.apache.org/jira/browse/SPARK-28841?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16961402#comment-16961402
 ] 

Shixiong Zhu commented on SPARK-28841:
--------------------------------------

[~srowen] "?" is to trigger glob pattern codes. It matches any chars. That's 
not a typo. The code I post here is trying to read files that match the pattern 
"/tmp/test/foo?bar". But if "/tmp/test/foo:bar" exists, it will fail because of 
HDFS-14762.

> Spark cannot read a relative path containing ":"
> ------------------------------------------------
>
>                 Key: SPARK-28841
>                 URL: https://issues.apache.org/jira/browse/SPARK-28841
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 2.4.3
>            Reporter: Shixiong Zhu
>            Priority: Major
>
> Reproducer:
> {code}
> spark.read.parquet("test:test")
> {code}
> Error:
> {code}
> java.lang.IllegalArgumentException: java.net.URISyntaxException: Relative 
> path in absolute URI: test:test
> {code}
> This is actually a Hadoop issue since the error is thrown from "new 
> Path("test:test")". I'm creating this ticket to see if we can work around 
> this issue in Spark.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to