You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Wenchen Fan (JIRA)" <ji...@apache.org> on 2016/07/06 13:50:11 UTC

[jira] [Resolved] (SPARK-16229) Empty Table Remains After CREATE TABLE AS SELECT fails

     [ https://issues.apache.org/jira/browse/SPARK-16229?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Wenchen Fan resolved SPARK-16229.
---------------------------------
       Resolution: Fixed
    Fix Version/s: 2.0.0

Issue resolved by pull request 13926
[https://github.com/apache/spark/pull/13926]

> Empty Table Remains After CREATE TABLE AS SELECT fails
> ------------------------------------------------------
>
>                 Key: SPARK-16229
>                 URL: https://issues.apache.org/jira/browse/SPARK-16229
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 2.0.0
>            Reporter: Xiao Li
>            Assignee: Xiao Li
>             Fix For: 2.0.0
>
>
> {noformat}
> CREATE TABLE tab
> STORED AS TEXTFILE
> SELECT 1 AS a, (SELECT a FROM (SELECT 1 AS a UNION ALL SELECT 2 AS a) t) AS b
> {noformat}
> The above query failed as expected but an empty table {{t}} is created. 



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