gengliangwang commented on a change in pull request #34729:
URL: https://github.com/apache/spark/pull/34729#discussion_r757920021



##########
File path: 
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/mathExpressions.scala
##########
@@ -453,40 +439,26 @@ case class Expm1(child: Expression) extends 
UnaryMathExpression(StrictMath.expm1
   examples = """
     Examples:
       > SELECT _FUNC_(-0.1);
-       -1
+       -1.0
       > SELECT _FUNC_(5);
        5
+      > SELECT _FUNC_(3.1411, 3);
+       3.141
+      > SELECT _FUNC_(3.1411, -3);
+       1000.0

Review comment:
       why is it 1000?




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to