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

Negative AQE caching in SQL cache

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 4.0.0
    • 4.0.0
    • SQL

    Description

      When we use a cached an AQE plan, it will do `cachedPlan.execute` to build the RDD, which will execute all AQE stages except the result stage. If any of them failed, the failure will be cached by lazy RDD val. So the next time when we reuse that cached plan (even by a totally irrelevant caller) it will fail immediately.

      We need to re-cache the AQE plan upon failure.

      Attachments

        Issue Links

          Activity

            People

              liuzq12 Ziqi Liu
              liuzq12 Ziqi Liu
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: