Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-31412 New Adaptive Query Execution in Spark SQL
  3. SPARK-31206

AQE will use the same SubqueryExec even if subqueryReuseEnabled=false

    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: In Progress
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 3.0.0
    • Fix Version/s: None
    • Component/s: SQL
    • Labels:
      None

      Description

      In `InsertAdaptiveSparkPlan.buildSubqueryMap`, AQE will skip to compile the subquery with the same exprId. As a result, in PlanAdaptiveSubqueries, it will use the same SubqueryExec for the SubqueryExpression with the same exprId.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                Ngone51 wuyi
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: