Github user kiszk commented on the issue: https://github.com/apache/spark/pull/20021 I see. I agree that to add assert helps all of developers. My question is what is a rule to decide whether a mutable state should be localized or not? I think that we have to ensure caller of `ctx.splitExpression` does not get any `EvalCode`.
--- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org