Github user cloud-fan commented on a diff in the pull request:

    https://github.com/apache/spark/pull/19821#discussion_r153763387
  
    --- Diff: 
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/codegen/CodeGenerator.scala
 ---
    @@ -788,11 +788,31 @@ class CodegenContext {
        * @param expressions the codes to evaluate expressions.
        */
       def splitExpressions(expressions: Seq[String]): String = {
    +    splitExpressions(expressions, funcName = "apply", extraArguments = Nil)
    +  }
    +
    +  /**
    +   * Splits the generated code of expressions into multiple functions, 
because function has
    +   * 64kb code size limit in JVM. This version takes care of INPUT_ROW and 
currentVars
    --- End diff --
    
    nit
    ```
    Similar to [[splitExpressions(expressions: Seq[String])]], but has 
customized function name and extra arguments.
    ```


---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to