Github user cloud-fan commented on a diff in the pull request:

    https://github.com/apache/spark/pull/21980#discussion_r207986323
  
    --- 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 --
    
    can we use `Utils.random` here? It's more consistent if we guarantee to use 
`Utils.random` in a central place.


---

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

Reply via email to