[ https://issues.apache.org/jira/browse/SPARK-33647?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17245720#comment-17245720 ]
Apache Spark commented on SPARK-33647: -------------------------------------- User 'linhongliu-db' has created a pull request for this issue: https://github.com/apache/spark/pull/30666 > 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: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org