[ https://issues.apache.org/jira/browse/SPARK-28841?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16912572#comment-16912572 ]
Shixiong Zhu edited comment on SPARK-28841 at 8/21/19 6:04 PM: --------------------------------------------------------------- In a second thought, this is probably a limitation of "Path" API since it cannot tell whether "test" is a schema or just a part of a relate path. was (Author: zsxwing): In a second thought, this is probably a limitation of "Path" API since it cannot tell whether "test" is a schema or just a part of a relate path > 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.2#803003) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org