Github user srowen commented on a diff in the pull request:
https://github.com/apache/spark/pull/20618#discussion_r168504378
--- Diff:
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/mathExpressions.scala
---
@@ -262,6 +285,11 @@ case class Cos(child: Expression) extends
UnaryMathExpression(math.cos, "COS")
@ExpressionDescription(
usage = "_FUNC_(expr) - Returns the hyperbolic cosine of `expr`.",
+ arguments =
+ """
+ Arguments:
+ * expr - number whose hyperbolic consine is to be returned.
--- End diff --
consine -> cosine
For the hyperbolic functions, you can just describe the argument as a
"hyperbolic angle". This description is redundant with the "Returns ..."
description above.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]