Github user misutoth commented on a diff in the pull request:
https://github.com/apache/spark/pull/20618#discussion_r169313329
--- Diff:
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/mathExpressions.scala
---
@@ -548,7 +579,14 @@ case class Sqrt(child: Expression) extends
UnaryMathExpression(math.sqrt, "SQRT"
case class Tan(child: Expression) extends UnaryMathExpression(math.tan,
"TAN")
@ExpressionDescription(
- usage = "_FUNC_(expr) - Returns the cotangent of `expr`.",
+ usage = """
+ _FUNC_(expr) - Returns the cotangent of `expr`, as if computed by
+ `1/java.lang.Math._FUNC_`.
--- End diff --
yes
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]