ahshahid opened a new pull request, #43807:
URL: https://github.com/apache/spark/pull/43807

   ### What changes were proposed in this pull request?
   Implementing equals and hashCode in SubqueryBroadcastExec so that it is made 
equivalent to SubqueryAdaptiveBroadcastExec . During the bug testing and fix 
for re-use of exchange in AQE, it turned out that the first exchange got 
created with SubqueryAdaptiveBroadcastExec, while another incoming exchange 
which is as such identical to the existing one, but differed as it was having 
SubqueryBroadcastExec, which contributed to re-use of exchange not happening.
   
   ### Why are the changes needed?
   Needed so that reuse of exchange happens correctly in AQE
   
   ### Does this PR introduce _any_ user-facing change?
   No
   
   
   ### How was this patch tested?
   Added test for checking the equivalence with SubqueryAdaptiveBroadcastExec.
   
   ### 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: reviews-unsubscr...@spark.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


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

Reply via email to