You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "hantiantian (JIRA)" <ji...@apache.org> on 2019/04/23 06:51:00 UTC
[jira] [Updated] (SPARK-27545) Uncache table needs to delete the
temporary view created when the cache table is executed.
[ https://issues.apache.org/jira/browse/SPARK-27545?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
hantiantian updated SPARK-27545:
--------------------------------
Description:
spark-sql> cache table v1 as select * from a;
spark-sql> uncache table v1;
spark-sql> cache table v1 as select * from a;
2019-04-23 14:50:09,038 INFO org.apache.hadoop.hive.metastore.HiveMetaStore: 0: get_table : db=apachespark tbl=a
2019-04-23 14:50:09,038 INFO org.apache.hadoop.hive.metastore.HiveMetaStore.audit: ugi=root ip=unknown-ip-addr cmd=get_table : db=apachespark tbl=a
Error in query: Temporary view 'v1' already exists;
> Uncache table needs to delete the temporary view created when the cache table is executed.
> ------------------------------------------------------------------------------------------
>
> Key: SPARK-27545
> URL: https://issues.apache.org/jira/browse/SPARK-27545
> Project: Spark
> Issue Type: Bug
> Components: Spark Core
> Affects Versions: 2.4.1
> Reporter: hantiantian
> Priority: Major
>
> spark-sql> cache table v1 as select * from a;
> spark-sql> uncache table v1;
> spark-sql> cache table v1 as select * from a;
> 2019-04-23 14:50:09,038 INFO org.apache.hadoop.hive.metastore.HiveMetaStore: 0: get_table : db=apachespark tbl=a
> 2019-04-23 14:50:09,038 INFO org.apache.hadoop.hive.metastore.HiveMetaStore.audit: ugi=root ip=unknown-ip-addr cmd=get_table : db=apachespark tbl=a
> Error in query: Temporary view 'v1' already exists;
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org