Skip to content

Commit

Permalink
[FEATURE-apache#10] Uses sort columnar shuffle for native columnar sh…
Browse files Browse the repository at this point in the history
…uffle by default (merge request !16)
  • Loading branch information
shamirchen authored and sharkdtu committed Nov 8, 2024
1 parent 21291f3 commit fd1a807
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,10 @@ private[gluten] class GlutenDriverPlugin extends DriverPlugin with Logging {
if (!conf.contains(GlutenConfig.NATIVE_WRITER_ENABLED.key)) {
conf.set(GlutenConfig.NATIVE_WRITER_ENABLED.key, "true")
}

if (!conf.contains(GlutenConfig.COLUMNAR_SHUFFLE_SORT_COLUMNS_THRESHOLD.key)) {
conf.set(GlutenConfig.COLUMNAR_SHUFFLE_SORT_COLUMNS_THRESHOLD.key, "200")
}
}

private def setPredefinedConfigs(sc: SparkContext, conf: SparkConf): Unit = {
Expand Down

0 comments on commit fd1a807

Please sign in to comment.