Cheng Hao created SPARK-4152:
--------------------------------
Summary: 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
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: [email protected]
For additional commands, e-mail: [email protected]