cloud-fan commented on code in PR #56575:
URL: https://github.com/apache/spark/pull/56575#discussion_r3454668869
##########
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/randomExpressions.scala:
##########
@@ -228,7 +228,8 @@ case class Uniform(
def this(min: Expression, max: Expression, seedExpression: Expression) =
this(min, max, seedExpression, hideSeed = false)
- final override lazy val deterministic: Boolean = false
+ // `deterministic` is inherited from `RuntimeReplaceable`, which delegates
to `replacement` (a
+ // non-deterministic `Rand`-based expression unless an argument is null).
Review Comment:
```suggestion
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]