Pajaraja commented on code in PR #50957:
URL: https://github.com/apache/spark/pull/50957#discussion_r2101956985


##########
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/randomExpressions.scala:
##########
@@ -165,6 +168,8 @@ case class Randn(child: Expression, hideSeed: Boolean = 
false) extends Nondeterm
 
   override def withNewSeed(seed: Long): Randn = Randn(Literal(seed, LongType), 
hideSeed)
 
+  override def withShiftedSeed(shift: Long): Randn = Randn(Add(child, 
Literal(shift)), hideSeed)

Review Comment:
   changed



-- 
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: reviews-unsubscr...@spark.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to