Skip to content

Commit c37311f

Browse files
committed
add comment to splitExpressions
1 parent 4e83f9f commit c37311f

File tree

1 file changed

+4
-2
lines changed
  • sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/codegen

1 file changed

+4
-2
lines changed

sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/codegen/CodeGenerator.scala

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -801,7 +801,8 @@ class CodegenContext {
801801
* @param expressions the codes to evaluate expressions.
802802
* @param funcName the split function name base.
803803
* @param extraArguments the list of (type, name) of the arguments of the split function,
804-
* except for the current inputs like `ctx.INPUT_ROW`.
804+
* except for the current inputs like `ctx.INPUT_ROW`. Name must not be
805+
* mutable state.
805806
* @param returnType the return type of the split function.
806807
* @param makeSplitFunction makes split function body, e.g. add preparation or cleanup.
807808
* @param foldFunctions folds the split function calls.
@@ -835,7 +836,8 @@ class CodegenContext {
835836
*
836837
* @param expressions the codes to evaluate expressions.
837838
* @param funcName the split function name base.
838-
* @param arguments the list of (type, name) of the arguments of the split function.
839+
* @param arguments the list of (type, name) of the arguments of the split function. Name must
840+
* not be mutable state
839841
* @param returnType the return type of the split function.
840842
* @param makeSplitFunction makes split function body, e.g. add preparation or cleanup.
841843
* @param foldFunctions folds the split function calls.

0 commit comments

Comments
 (0)