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-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org