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

Attach filesAttach ScreenshotVotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Incomplete
    • 3.0.0
    • None
    • SQL
    • 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

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            Ngone51 wuyi
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment