[ https://issues.apache.org/jira/browse/SPARK-15862?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Cheng Lian resolved SPARK-15862. -------------------------------- Resolution: Fixed Fix Version/s: 2.0.0 Issue resolved by pull request 13572 [https://github.com/apache/spark/pull/13572] > Better Error Message When Having Database Name in CACHE TABLE AS SELECT > ----------------------------------------------------------------------- > > Key: SPARK-15862 > URL: https://issues.apache.org/jira/browse/SPARK-15862 > Project: Spark > Issue Type: Improvement > Components: SQL > Affects Versions: 2.0.0 > Reporter: Xiao Li > Assignee: Xiao Li > Priority: Minor > Fix For: 2.0.0 > > > The table name in CACHE TABLE AS SELECT should NOT contain database prefix > like "database.table". Thus, this PR captures this in Parser and outputs a > better error message, instead of reporting the view already exists. > In addition, in this JIRA, we have a few issues that need to be addressed: 1) > refactor the Parser to generate table identifiers instead of returning the > table name string; 2) add test case for caching and uncaching qualified table > names; 3) fix a few test cases that do not drop temp table at the end; -- 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