Github user maryannxue commented on a diff in the pull request:

    https://github.com/apache/spark/pull/21674#discussion_r199310515
  
    --- Diff: 
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/dsl/package.scala ---
    @@ -149,6 +149,7 @@ package object dsl {
           }
         }
     
    +    def rand(e: Long): Expression = Rand(Literal.create(e, LongType))
    --- End diff --
    
    Since we already have a bunch of expressions here, I don't think it would 
hurt to add this one?


---

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

Reply via email to