[ https://issues.apache.org/jira/browse/SPARK-15838?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Xiao Li updated SPARK-15838: ---------------------------- Description: -Currently, {{CACHE TABLE AS SELECT}} replaces the existing Temp Table, if existed. This behavior is different from `CREATE TABLE` or `CREATE VIEW`. It looks risky.- Better Error Message When Having Database Name in CACHE TABLE AS SELECT was:Currently, {{CACHE TABLE AS SELECT}} replaces the existing Temp Table, if existed. This behavior is different from `CREATE TABLE` or `CREATE VIEW`. It looks risky. > CACHE TABLE AS SELECT should not replace the existing Temp Table > ---------------------------------------------------------------- > > Key: SPARK-15838 > URL: https://issues.apache.org/jira/browse/SPARK-15838 > Project: Spark > Issue Type: Bug > Components: SQL > Affects Versions: 2.0.0 > Reporter: Xiao Li > > -Currently, {{CACHE TABLE AS SELECT}} replaces the existing Temp Table, if > existed. This behavior is different from `CREATE TABLE` or `CREATE VIEW`. It > looks risky.- > Better Error Message When Having Database Name in CACHE TABLE AS SELECT -- 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