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

Wenchen Fan resolved SPARK-33647.
---------------------------------
    Fix Version/s: 3.1.0
       Resolution: Fixed

Issue resolved by pull request 30567
[https://github.com/apache/spark/pull/30567]

> 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: Linhong Liu
>            Priority: Major
>             Fix For: 3.1.0
>
>
> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to