Github user viirya commented on a diff in the pull request: https://github.com/apache/spark/pull/21980#discussion_r207971182 --- Diff: sql/core/src/main/scala/org/apache/spark/sql/execution/streaming/IncrementalExecution.scala --- @@ -75,14 +74,11 @@ class IncrementalExecution( * with the desired literal */ override lazy val optimizedPlan: LogicalPlan = { - val random = new Random() --- End diff -- I saw Rand/Randn use`Utils.random`, so changed to use it consistently.
--- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org