Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-33647

cache table not working for persisted view

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.0.1
    • 3.1.0
    • SQL
    • None

    Description

      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.

      Attachments

        Activity

          People

            linhongliu-db Linhong Liu
            linhongliu-db Linhong Liu
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: