Github user misutoth commented on a diff in the pull request:
https://github.com/apache/spark/pull/20618#discussion_r168521316
--- 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 --
I was not very familiar with hyperbolic functions so I followed the way
this is described in java.lang.Math. But hyperbolic angle is really what this
parameter actually is.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]