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/12/03 09:57:00 UTC

[jira] [Assigned] (SPARK-33647) cache table not working for persisted view

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

Apache Spark reassigned SPARK-33647:
------------------------------------

    Assignee: Apache Spark

> cache table not working for persisted view
> ------------------------------------------
>
>                 Key: SPARK-33647
>                 URL: https://issues.apache.org/jira/browse/SPARK-33647
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 3.0.1
>            Reporter: Linhong Liu
>            Assignee: Apache Spark
>            Priority: Major
>
> In `CacheManager`, tables (including views) are cached by its logical plan, and
> use `QueryPlan.sameResult` to lookup the cache. But the PersistedView wraps
> the child plan with a `View` which always lead false for `sameResult` check.



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