Xiao Li created SPARK-15862:
-------------------------------
Summary: 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: [email protected]
For additional commands, e-mail: [email protected]