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