Github user misutoth commented on a diff in the pull request:
https://github.com/apache/spark/pull/20618#discussion_r169311993
--- Diff:
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/mathExpressions.scala
---
@@ -252,7 +255,14 @@ case class Ceil(child: Expression) extends
UnaryMathExpression(math.ceil, "CEIL"
}
@ExpressionDescription(
- usage = "_FUNC_(expr) - Returns the cosine of `expr`.",
+ usage = """
+ _FUNC_(expr) - Returns the cosine of `expr`, as if computed by
+ `java.lang.Math._FUNC_`.
+ """,
+ arguments = """
+ Arguments:
+ * expr - angle in radians
+ """,
--- End diff --
yes, indeed that is used elsewhere
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]