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 2014/10/30 09:26:33 UTC
[jira] [Commented] (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:comment-tabpanel&focusedCommentId=14189797#comment-14189797 ]
Apache Spark commented on SPARK-4152:
-------------------------------------
User 'chenghao-intel' has created a pull request for this issue:
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
>
> 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