Skip to content

Commit 91bdc4c

Browse files
committed
try_add
1 parent 774bda1 commit 91bdc4c

File tree

1 file changed

+2
-2
lines changed
  • sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ case class TryEval(child: Expression) extends UnaryExpression with NullIntoleran
6060
> SELECT _FUNC_(1, 2);
6161
3
6262
> SELECT _FUNC_(2147483647, 1);
63-
null
63+
NULL
6464
""",
6565
since = "3.2.0",
6666
group = "math_funcs")
@@ -89,7 +89,7 @@ case class TryAdd(left: Expression, right: Expression, child: Expression)
8989
> SELECT _FUNC_(2L, 2L);
9090
1.0
9191
> SELECT _FUNC_(1, 0);
92-
null
92+
NULL
9393
""",
9494
since = "3.2.0",
9595
group = "math_funcs")

0 commit comments

Comments
 (0)