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

    https://github.com/apache/spark/pull/20618#discussion_r168531352
  
    --- Diff: 
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/mathExpressions.scala
 ---
    @@ -770,7 +837,14 @@ case class Unhex(child: Expression) extends 
UnaryExpression with ImplicitCastInp
     
     // scalastyle:off line.size.limit
     @ExpressionDescription(
    -  usage = "_FUNC_(expr1, expr2) - Returns the angle in radians between the 
positive x-axis of a plane and the point given by the coordinates (`expr1`, 
`expr2`).",
    +  usage = "_FUNC_(exprY, exprX) - Returns the angle in radians between the 
positive x-axis of a plane and the point given by the coordinates (`exprX`, 
`exprY`), " +
    +    "as if computed by `java.lang.Math._FUNC_`.",
    +  arguments =
    +    """
    +    Arguments:
    +      * exprY - the ordinate coordinate
    +      * exprX - the abscissa coordinate
    --- End diff --
    
    Sure, I will fix that. I borrowed that from java.lang.Math ... which 
sometimes is more complicated than it should be.


---

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

Reply via email to