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

    https://github.com/apache/spark/pull/19729#discussion_r150477798
  
    --- Diff: 
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/arithmetic.scala
 ---
    @@ -604,6 +604,8 @@ case class Least(children: Seq[Expression]) extends 
Expression {
         val evalChildren = children.map(_.genCode(ctx))
         val first = evalChildren(0)
    --- End diff --
    
    I am sorry that I cannot understand your opinion.
    Could you please explain how your opinion works in the case that all of 
childrens with `ev.value = -2` and `ev.isNull = false` for `Greatest` by using 
`ctx.defaultValue`?


---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to