Github user cloud-fan commented on a diff in the pull request:
https://github.com/apache/spark/pull/19940#discussion_r158323966
--- Diff:
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/codegen/CodeGenerator.scala
---
@@ -195,6 +195,14 @@ class CodegenContext {
}
+ /**
+ * A map containing the mutable states which have been defined so far
using
+ * `addImmutableStateIfNotExists`. Each entry contains the name of the
mutable state as key and
+ * its Java type and init code as value.
+ */
+ val singleMutableStates: mutable.Map[String, (String, String)] =
--- End diff --
immutableStates?
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]