You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Hyukjin Kwon (JIRA)" <ji...@apache.org> on 2019/05/21 04:35:14 UTC

[jira] [Resolved] (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:all-tabpanel ]

Hyukjin Kwon resolved SPARK-14557.
----------------------------------
    Resolution: Incomplete

> 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
>            Priority: Major
>              Labels: bulk-closed
>
> 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
(v7.6.3#76005)

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