Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -3028,6 +3028,14 @@ object SQLConf {
.booleanConf
.createWithDefault(true)

val ENABLE_SORT_MERGE_JOIN_CODEGEN =
buildConf("spark.sql.codegen.join.sortMergeJoin.enabled")
.internal()
.doc("When true, enables code-gen for sort merge join other than FULL OUTER and Existence.")
.version("4.1.0")
.booleanConf
.createWithDefault(true)

val MAX_NESTED_VIEW_DEPTH =
buildConf("spark.sql.view.maxNestedViewDepth")
.internal()
Expand Down Expand Up @@ -3605,7 +3613,7 @@ object SQLConf {
"join operator")
.version("2.2.1")
.intConf
.createWithDefault(ByteArrayMethods.MAX_ROUNDED_ARRAY_LENGTH)
.createWithDefault(4096)

val SORT_MERGE_JOIN_EXEC_BUFFER_SPILL_THRESHOLD =
buildConf("spark.sql.sortMergeJoinExec.buffer.spill.threshold")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ case class SortMergeJoinExec(
override def supportCodegen: Boolean = joinType match {
case FullOuter => conf.getConf(SQLConf.ENABLE_FULL_OUTER_SORT_MERGE_JOIN_CODEGEN)
case _: ExistenceJoin => conf.getConf(SQLConf.ENABLE_EXISTENCE_SORT_MERGE_JOIN_CODEGEN)
case _ => true
case _ => conf.getConf(SQLConf.ENABLE_SORT_MERGE_JOIN_CODEGEN)
}

override def inputRDDs(): Seq[RDD[InternalRow]] = {
Expand Down