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

    https://github.com/apache/spark/pull/22965#discussion_r231541613
  
    --- Diff: 
sql/hive/src/test/scala/org/apache/spark/sql/hive/orc/OrcReadBenchmark.scala ---
    @@ -266,8 +268,9 @@ object OrcReadBenchmark extends BenchmarkBase with 
SQLHelper {
                 s"SELECT IF(RAND(1) < $fractionOfNulls, NULL, CAST(id as 
STRING)) AS c1, " +
                 s"IF(RAND(2) < $fractionOfNulls, NULL, CAST(id as STRING)) AS 
c2 FROM t1"))
    --- End diff --
    
    @maropu It is trivial, but why it is RAND(2) here


---

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

Reply via email to