linhongliu-db opened a new pull request #33182:
URL: https://github.com/apache/spark/pull/33182


   ### What changes were proposed in this pull request?
   Add a config `spark.sql.join.forceApplyShuffledHashJoin` to force applying 
shuffled hash join
   during the join selection.
   
   
   ### Why are the changes needed?
   In the `SQLQueryTestSuite`, we want to cover 3 kinds of join (BHJ, SHJ, SMJ) 
in join.sql. But even
   if the `spark.sql.join.preferSortMergeJoin` is set to `false`, shuffled hash 
join is still not guaranteed.
   Thus, we need another config to force the selection.
   
   
   ### Does this PR introduce _any_ user-facing change?
   No, only for testing
   
   
   ### How was this patch tested?
   newly added tests
   


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