You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by viirya <gi...@git.apache.org> on 2017/10/07 03:13:15 UTC

[GitHub] spark pull request #18931: [SPARK-21717][SQL] Decouple consume functions of ...

Github user viirya commented on a diff in the pull request:

    https://github.com/apache/spark/pull/18931#discussion_r143321131
  
    --- Diff: sql/core/src/test/scala/org/apache/spark/sql/execution/WholeStageCodegenSuite.scala ---
    @@ -181,7 +181,7 @@ class WholeStageCodegenSuite extends SparkPlanTest with SharedSQLContext {
         val codeWithShortFunctions = genGroupByCode(3)
         val (_, maxCodeSize1) = CodeGenerator.compile(codeWithShortFunctions)
         assert(maxCodeSize1 < SQLConf.WHOLESTAGE_HUGE_METHOD_LIMIT.defaultValue.get)
    -    val codeWithLongFunctions = genGroupByCode(20)
    +    val codeWithLongFunctions = genGroupByCode(50)
    --- End diff --
    
    We reduce the length of generated codes. So to make this test work, we increase the number of expressions.


---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org