Skip to content

Commit

Permalink
Change the default value of maxLinesPerFunction into 4000
Browse files Browse the repository at this point in the history
  • Loading branch information
maropu committed Aug 22, 2017
1 parent 5c9b301 commit d0bc6a6
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -577,10 +577,10 @@ object SQLConf {
.doc("The maximum lines of a single Java function generated by whole-stage codegen. " +
"When the generated function exceeds this threshold, " +
"the whole-stage codegen is deactivated for this subtree of the current query plan. " +
"The default value 2667 is the max length of byte code JIT supported " +
"for a single function(8000) divided by 3.")
"The default value 4000 is the max length of byte code JIT supported " +
"for a single function(8000) divided by 2.")
.intConf
.createWithDefault(2667)
.createWithDefault(4000)

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

0 comments on commit d0bc6a6

Please sign in to comment.