You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (JIRA)" <ji...@apache.org> on 2016/04/13 12:56:25 UTC

[jira] [Commented] (SPARK-14557) Reading textfile (created though CTAS) doesn't work when pathFilter is enabled.

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

Apache Spark commented on SPARK-14557:
--------------------------------------

User 'kasjain' has created a pull request for this issue:
https://github.com/apache/spark/pull/12356

> Reading textfile (created though CTAS) doesn't work when pathFilter is enabled.
> -------------------------------------------------------------------------------
>
>                 Key: SPARK-14557
>                 URL: https://issues.apache.org/jira/browse/SPARK-14557
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 1.3.1, 1.3.2, 1.5.2, 1.6.1
>            Reporter: Kashish Jain
>
> When the pathFilter is enabled in hive-site.xml, the queries fail on the table created through CTAS.
> Query fired for creating the table
> create table CTAS1(field1 int, field2 int) ROW FORMAT DELIMITED FIELDS TERMINATED BY ',' STORED AS TEXTFILE as select field1, field2 from <TABLE> limit 5
> Query which fails -  Select * from <TABLE>
> Exception Observed - 
> java.lang.IllegalArgumentException: java.net.URISyntaxException: Illegal character in scheme name at index 10: part-00000,hdfs:
> at org.apache.hadoop.fs.Path.initialize(Path.java:206)
> at org.apache.hadoop.fs.Path.<init>(Path.java:172)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org