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
- links to