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

    https://github.com/apache/spark/pull/21037#discussion_r182297896
  
    --- Diff: 
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/collectionOperations.scala
 ---
    @@ -353,3 +353,61 @@ case class ArrayMax(child: Expression) extends 
UnaryExpression with ImplicitCast
     
       override def prettyName: String = "array_max"
     }
    +
    +
    +/**
    + * Returns the position of the first occurrence of element in the given 
array as long.
    + * Returns 0 if substr could not be found in str. Returns null if either 
of the arguments are null
    --- End diff --
    
    `Returns 0 if substr could not be found in str` -> `Returns 0 if the value 
could not be found in the array` or something?


---

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

Reply via email to