[jira] [Assigned] (SPARK-15862) Better Error Message When Having Database Name in CACHE TABLE AS SELECT
[ https://issues.apache.org/jira/browse/SPARK-15862?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Apache Spark reassigned SPARK-15862: Assignee: Apache Spark > 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: Apache Spark >Priority: Minor > > 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
[jira] [Assigned] (SPARK-15862) Better Error Message When Having Database Name in CACHE TABLE AS SELECT
[ https://issues.apache.org/jira/browse/SPARK-15862?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Apache Spark reassigned SPARK-15862: Assignee: (was: Apache Spark) > 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 >Priority: Minor > > 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