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/11 19:56:25 UTC

[jira] [Commented] (SPARK-14493) "CREATE TEMPORARY TABLE ... USING ... AS SELECT ..." should always be used with a user defined path

    [ 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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org