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 2020/10/29 19:35:00 UTC

[jira] [Assigned] (SPARK-33290) REFRESH TABLE should invalidate cache even though the table itself may not be cached

     [ https://issues.apache.org/jira/browse/SPARK-33290?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Apache Spark reassigned SPARK-33290:
------------------------------------

    Assignee: Apache Spark

> REFRESH TABLE should invalidate cache even though the table itself may not be cached
> ------------------------------------------------------------------------------------
>
>                 Key: SPARK-33290
>                 URL: https://issues.apache.org/jira/browse/SPARK-33290
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 3.0.1
>            Reporter: Chao Sun
>            Assignee: Apache Spark
>            Priority: Major
>
> For the following example:
> {code}
> CREATE TABLE t ...;
> CREATE VIEW t1 AS SELECT * FROM t;
> REFRESH TABLE t
> {code}
> If t is cached, t1 will be invalidated. However if t is not cached as above, the REFRESH command won't invalidate view t1. This could lead to incorrect result if the view is used later.



--
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