andygrove opened a new issue, #1006:
URL: https://github.com/apache/datafusion-comet/issues/1006
### What is the problem the feature request solves?
Other Spark accelerators, such as Spark RAPIDS and Apache Gluten, replace
SortMergeJoin with ShuffleHashJoin for improved performance. We should evaluate
this approach for Comet.
## Spark RAPIDS
```scala
val ENABLE_REPLACE_SORTMERGEJOIN =
conf("spark.rapids.sql.replaceSortMergeJoin.enabled")
.doc("Allow replacing sortMergeJoin with HashJoin")
.booleanConf
.createWithDefault(true)
```
## Apache Gluten
```scala
val COLUMNAR_FPRCE_SHUFFLED_HASH_JOIN_ENABLED =
buildConf("spark.gluten.sql.columnar.forceShuffledHashJoin")
.internal()
.booleanConf
.createWithDefault(true)
```
```scala
/**
* If force ShuffledHashJoin, convert [[SortMergeJoinExec]] to
[[ShuffledHashJoinExec]]. There is no
* need to select a smaller table as buildSide here, it will be reselected
when offloading.
*/
object RewriteJoin extends RewriteSingleNode with JoinSelectionHelper {
```
### Describe the potential solution
_No response_
### Additional context
_No response_
--
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]