Github user dbtsai commented on a diff in the pull request:
https://github.com/apache/spark/pull/22947#discussion_r230975661
--- Diff:
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/misc.scala
---
@@ -66,6 +66,8 @@ case class AssertTrue(child: Expression) extends
UnaryExpression with ImplicitCa
override def nullable: Boolean = true
+ override lazy val deterministic: Boolean = false
--- End diff --
Because of this, I'm leaning towards creating a new flag instead of making
them non-deterministic.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]