You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (JIRA)" <ji...@apache.org> on 2016/06/10 04:12:21 UTC

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=15323828#comment-15323828 ] 

Apache Spark commented on SPARK-15862:
--------------------------------------

User 'gatorsmile' has created a pull request for this issue:
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
>            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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org