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

    https://github.com/apache/spark/pull/12185#discussion_r59122479
  
    --- Diff: 
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/stringExpressions.scala
 ---
    @@ -325,6 +337,11 @@ case class StringTranslate(srcExpr: Expression, 
matchingExpr: Expression, replac
      * delimited list (right). Returns 0, if the string wasn't found or if the 
given
      * string (left) contains a comma.
      */
    +@ExpressionDescription(
    +  usage = """_FUNC_(str, str_array) - Returns the first occurrence of str 
in str_array.
    +    where str_array is a comma-delimited string. Returns null if either 
argument is null.
    +    Returns 0 if the first argument has any commas.""",
    --- End diff --
    
    Seems the scala doc is a better version?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

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

Reply via email to