Github user cloud-fan commented on a diff in the pull request: https://github.com/apache/spark/pull/19811#discussion_r156925749 --- Diff: sql/catalyst/src/test/scala/org/apache/spark/sql/catalyst/expressions/CodeGenerationSuite.scala --- @@ -401,4 +401,26 @@ class CodeGenerationSuite extends SparkFunSuite with ExpressionEvalHelper { ctx.addReferenceObj("foo", foo) assert(ctx.mutableStates.isEmpty) } + + test("SPARK-18016: def mutable states by using an array") { --- End diff -- def -> `define`
--- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org