You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Maryann Xue (JIRA)" <ji...@apache.org> on 2019/07/31 16:17:00 UTC

[jira] [Created] (SPARK-28583) Subqueries should not call `onUpdatePlan` in Adaptive Query Execution

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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org