You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Xiao Li (JIRA)" <ji...@apache.org> on 2016/06/27 18:27:52 UTC

[jira] [Updated] (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 ]

Xiao Li updated SPARK-16229:
----------------------------
    Description: 
{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. 

  was:
{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 following query failed as expected but an empty table {{t}} is created. 


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