You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Wenchen Fan (Jira)" <ji...@apache.org> on 2020/02/11 13:45:00 UTC
[jira] [Updated] (SPARK-27545) Update the Documentation for CACHE
TABLE and UNCACHE TABLE
[ https://issues.apache.org/jira/browse/SPARK-27545?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Wenchen Fan 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;
we should document it.
was:
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;
> Update the Documentation for CACHE TABLE and UNCACHE TABLE
> ----------------------------------------------------------
>
> 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
> Assignee: hantiantian
> Priority: Major
> Fix For: 3.0.0
>
>
> 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;
> we should document it.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org