peter-toth opened a new pull request, #51685:
URL: https://github.com/apache/spark/pull/51685

   ### What changes were proposed in this pull request?
   
   Currently when AQE is off, DPP InSuqberues are planned by the 
`PlanSubqueries` as regular `InSubqueryExec(isDynamicPruning = false)` which 
causes the results to be broadcasted. But those subquery results are always 
used at the driver only so there is no need to broadcast the result.
   
   ### Why are the changes needed?
   
   Perf improvement when AQE is off + make `PlanDynamicPruningFilters` to be on 
par with `PlanAdaptiveDynamicPruningFilters`.
   
   ### Does this PR introduce _any_ user-facing change?
   
   No.
   
   ### How was this patch tested?
   
   Existing UTs.
   
   ### Was this patch authored or co-authored using generative AI tooling?
   
   No.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to