Kashish Jain created SPARK-14557:
------------------------------------

             Summary: CTAS (save as textfile) doesn't work with pathFilter 
defined
                 Key: SPARK-14557
                 URL: https://issues.apache.org/jira/browse/SPARK-14557
             Project: Spark
          Issue Type: Bug
          Components: Spark Core
    Affects Versions: 1.5.2, 1.3.1, 1.3.2
            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-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to