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

Apache Spark commented on SPARK-14493:
--------------------------------------

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

> "CREATE TEMPORARY TABLE ... USING ... AS SELECT ..." should always be used 
> with a user defined path
> ---------------------------------------------------------------------------------------------------
>
>                 Key: SPARK-14493
>                 URL: https://issues.apache.org/jira/browse/SPARK-14493
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 2.0.0
>            Reporter: Cheng Lian
>            Assignee: Cheng Lian
>
> In current Spark 2.0 master, the following DDL command doesn't specify a 
> user-defined path, and writes query result to default Hive warehouse location
> {code}
> sqlContext sql "CREATE TEMPORARY TABLE y USING PARQUET AS SELECT * FROM x"
> {code}
> In Spark 1.6, it results in the following exception, which is expected 
> behavior:
> {noformat}
> scala> sqlContext sql "CREATE TEMPORARY TABLE y USING PARQUET AS SELECT * 
> FROM x"
> java.util.NoSuchElementException: key not found: path
> {noformat}



--
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