Maryann Xue created SPARK-28583:
-----------------------------------

             Summary: Subqueries should not call `onUpdatePlan` in Adaptive 
Query Execution
                 Key: SPARK-28583
                 URL: https://issues.apache.org/jira/browse/SPARK-28583
             Project: Spark
          Issue Type: Bug
          Components: SQL
    Affects Versions: 3.0.0
            Reporter: Maryann Xue


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.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to