uros-b commented on code in PR #56804:
URL: https://github.com/apache/spark/pull/56804#discussion_r3479727902
##########
core/src/main/scala/org/apache/spark/internal/config/package.scala:
##########
@@ -1965,6 +1965,17 @@ package object config {
"The merge factor must be -1 (disabled) or at least 2.")
.createWithDefault(-1)
+ private[spark] val UNSAFE_SORTER_SPILL_MERGER_USE_LOSER_TREE =
+ ConfigBuilder("spark.unsafe.sorter.spill.merger.useLoserTree")
+ .internal()
+ .doc("If true, use a loser tree based k-way merger when reading multiple
spill files " +
+ "in UnsafeExternalSorter; otherwise use the original priority-queue
based merger. " +
+ "Loser tree performs one comparison per replay versus two for heap
sift-down, which " +
+ "can be faster when there are many spills.")
+ .version("4.1.0")
Review Comment:
```suggestion
.version("4.3.0")
```
--
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]