File tree Expand file tree Collapse file tree 2 files changed +5
-7
lines changed
catalyst/src/main/scala/org/apache/spark/sql/internal
core/src/test/scala/org/apache/spark/sql/execution Expand file tree Collapse file tree 2 files changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -660,12 +660,10 @@ object SQLConf {
660660 val WHOLESTAGE_HUGE_METHOD_LIMIT = buildConf(" spark.sql.codegen.hugeMethodLimit" )
661661 .internal()
662662 .doc(" The maximum bytecode size of a single compiled Java function generated by whole-stage " +
663- " codegen. When the compiled function exceeds this threshold, " +
664- " the whole-stage codegen is deactivated for this subtree of the current query plan. " +
665- s " The default value is ${CodeGenerator .DEFAULT_JVM_HUGE_METHOD_LIMIT } and " +
666- " this is a limit in the OpenJDK JVM implementation." )
663+ " codegen. When the compiled function exceeds this threshold, the whole-stage codegen is " +
664+ " deactivated for this subtree of the current query plan. The default value is 65535." )
667665 .intConf
668- .createWithDefault(CodeGenerator . DEFAULT_JVM_HUGE_METHOD_LIMIT )
666+ .createWithDefault(65535 )
669667
670668 val WHOLESTAGE_SPLIT_CONSUME_FUNC_BY_OPERATOR =
671669 buildConf(" spark.sql.codegen.splitConsumeFuncByOperator" )
Original file line number Diff line number Diff line change @@ -202,7 +202,7 @@ class WholeStageCodegenSuite extends QueryTest with SharedSQLContext {
202202 wholeStageCodeGenExec.get.asInstanceOf [WholeStageCodegenExec ].doCodeGen()._2
203203 }
204204
205- test (" SPARK-21871 check if we can get large code size when compiling too long functions" ) {
205+ ignore (" SPARK-21871 check if we can get large code size when compiling too long functions" ) {
206206 val codeWithShortFunctions = genGroupByCode(3 )
207207 val (_, maxCodeSize1) = CodeGenerator .compile(codeWithShortFunctions)
208208 assert(maxCodeSize1 < SQLConf .WHOLESTAGE_HUGE_METHOD_LIMIT .defaultValue.get)
@@ -211,7 +211,7 @@ class WholeStageCodegenSuite extends QueryTest with SharedSQLContext {
211211 assert(maxCodeSize2 > SQLConf .WHOLESTAGE_HUGE_METHOD_LIMIT .defaultValue.get)
212212 }
213213
214- test (" bytecode of batch file scan exceeds the limit of WHOLESTAGE_HUGE_METHOD_LIMIT" ) {
214+ ignore (" bytecode of batch file scan exceeds the limit of WHOLESTAGE_HUGE_METHOD_LIMIT" ) {
215215 import testImplicits ._
216216 withTempPath { dir =>
217217 val path = dir.getCanonicalPath
You can’t perform that action at this time.
0 commit comments