You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Linhong Liu (Jira)" <ji...@apache.org> on 2020/12/03 09:55:00 UTC

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

Linhong Liu created SPARK-33647:
-----------------------------------

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


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