Uh oh!
There was an error while loading. Please reload this page.
[SPARK-21603][SQL][FOLLOW-UP] Use -1 to disable maxLinesPerFunction - #19031
[SPARK-21603][SQL][FOLLOW-UP] Use -1 to disable maxLinesPerFunction#19031maropu wants to merge 2 commits into
Conversation
SparkQA
commented
Aug 24, 2017
Test build #81055 has finished for PR 19031 at commit
|
60dc64e to
9438655Compareviirya
commented
Aug 24, 2017
I'd prefer using |
| "for a single function(8000) divided by 2. Use -1 to disable this.") | ||
| .intConf | ||
| .checkValue(maxLines => maxLines >= -1, "The maximum must not be a negative integer, -1 to " + | ||
| "always activate whole-stage codegen.") |
There was a problem hiding this comment.
The maximum must not be a negative integer, except for -1 using to always activate whole-stage codegen.
| "the whole-stage codegen is deactivated for this subtree of the current query plan. " + | ||
| "The default value 4000 is the max length of byte code JIT supported " + | ||
| "for a single function(8000) divided by 2.") | ||
| "The default value 2667 is the max length of byte code JIT supported " + |
There was a problem hiding this comment.
2667? I don't see you change the default value below.
8a60378 to
a0854adCompareviirya
commented
Aug 24, 2017
LGTM |
SparkQA
commented
Aug 24, 2017
Test build #81062 has finished for PR 19031 at commit
|
SparkQA
commented
Aug 24, 2017
Test build #81065 has finished for PR 19031 at commit
|
maropu
commented
Aug 24, 2017
ping @gatorsmile |
maropu
commented
Aug 25, 2017
ping |
gatorsmile
commented
Aug 27, 2017
This is an internal conf. For the advanced users, we do not encourage them to disable it. If they want to disable it, they can simply set it to a number above 8000. Thus, setting |
maropu
commented
Aug 28, 2017
ok, I'll close for now. Thanks! |
What changes were proposed in this pull request?
This pr used
-1to disablemaxLinesPerFunctionadded in #18810 because-1seems to be more natural to disable this too-long-function optimization (e.g. we couldn't useInt.MaxValueinspark-default.conf).How was this patch tested?
Modified the existing
WholeStageCodegenSuite