Skip to content

Commit d0bc6a6

Browse files
committed
Change the default value of maxLinesPerFunction into 4000
1 parent 5c9b301 commit d0bc6a6

File tree

1 file changed

+3
-3
lines changed
  • sql/catalyst/src/main/scala/org/apache/spark/sql/internal

1 file changed

+3
-3
lines changed

sql/catalyst/src/main/scala/org/apache/spark/sql/internal/SQLConf.scala

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -577,10 +577,10 @@ object SQLConf {
577577
.doc("The maximum lines of a single Java function generated by whole-stage codegen. " +
578578
"When the generated function exceeds this threshold, " +
579579
"the whole-stage codegen is deactivated for this subtree of the current query plan. " +
580-
"The default value 2667 is the max length of byte code JIT supported " +
581-
"for a single function(8000) divided by 3.")
580+
"The default value 4000 is the max length of byte code JIT supported " +
581+
"for a single function(8000) divided by 2.")
582582
.intConf
583-
.createWithDefault(2667)
583+
.createWithDefault(4000)
584584

585585
val FILES_MAX_PARTITION_BYTES = buildConf("spark.sql.files.maxPartitionBytes")
586586
.doc("The maximum number of bytes to pack into a single partition when reading files.")

0 commit comments

Comments
 (0)