You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Michael Armbrust (JIRA)" <ji...@apache.org> on 2014/11/03 23:00:35 UTC
[jira] [Resolved] (SPARK-4152) Avoid data change in CTAS while
table already existed
[ https://issues.apache.org/jira/browse/SPARK-4152?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Armbrust resolved SPARK-4152.
-------------------------------------
Resolution: Fixed
Fix Version/s: 1.2.0
Issue resolved by pull request 3013
[https://github.com/apache/spark/pull/3013]
> Avoid data change in CTAS while table already existed
> -----------------------------------------------------
>
> Key: SPARK-4152
> URL: https://issues.apache.org/jira/browse/SPARK-4152
> Project: Spark
> Issue Type: Bug
> Components: SQL
> Reporter: Cheng Hao
> Assignee: Cheng Hao
> Priority: Minor
> Fix For: 1.2.0
>
>
> CREATE TABLE t1 (a String);
> CREATE TABLE t1 AS SELECT key FROM src; -- throw exception
> CREATE TABLE if not exists t1 AS SELECT key FROM src; -- expect do nothing, actually will overwrite the t1.
--
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