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

Subqueries should not call `onUpdatePlan` in Adaptive Query Execution

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.0.0
    • 3.0.0
    • SQL
    • None

    Description

      Subqueries do not have their own execution id, thus when calling AdaptiveSparkPlanExec.onUpdatePlan, it will actually get the QueryExecution instance of the main query, which is wasteful and problematic. It could cause issues like stack overflow or dead locks in some circumstances.

      Attachments

        Issue Links

          Activity

            People

              maryannxue Wei Xue
              maryannxue Wei Xue
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: