Github user HyukjinKwon commented on a diff in the pull request:
https://github.com/apache/spark/pull/20618#discussion_r169305293
--- Diff:
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/mathExpressions.scala
---
@@ -539,7 +563,14 @@ case class Sinh(child: Expression) extends
UnaryMathExpression(math.sinh, "SINH"
case class Sqrt(child: Expression) extends UnaryMathExpression(math.sqrt,
"SQRT")
@ExpressionDescription(
- usage = "_FUNC_(expr) - Returns the tangent of `expr`.",
+ usage = """
+ _FUNC_(expr) - Returns the tangent of `expr`, as if computed by
+ `java.lang.Math._FUNC_`.
--- End diff --
Seems the two lines above could fix in one line.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]