Skip to content

Commit 1c96229

Browse files
committed
update
1 parent 12d129d commit 1c96229

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/mathExpressions.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ case class Conv(numExpr: Expression, fromBaseExpr: Expression, toBaseExpr: Expre
263263
case class Exp(child: Expression) extends UnaryMathExpression(math.exp, "EXP")
264264

265265
@ExpressionDescription(
266-
usage = "_FUNC_(value) - Returns e^x -1.",
266+
usage = "_FUNC_(value) - Returns e^x - 1.",
267267
extended = "> SELECT _FUNC_(1.0);\n1.718281828459045")
268268
case class Expm1(child: Expression) extends UnaryMathExpression(math.expm1, "EXPM1")
269269

@@ -331,7 +331,7 @@ object Factorial {
331331
}
332332

333333
@ExpressionDescription(
334-
usage = "_FUNC_(value) - Returns Factorial of the number",
334+
usage = "_FUNC_(value) - Returns the n factorial. n is valid in [0, 20] range.",
335335
extended = "> SELECT _FUNC_(5);\n120")
336336
case class Factorial(child: Expression) extends UnaryExpression with ImplicitCastInputTypes {
337337

0 commit comments

Comments
 (0)