mihailom-db commented on code in PR #48773:
URL: https://github.com/apache/spark/pull/48773#discussion_r1832412290
##########
sql/catalyst/src/test/scala/org/apache/spark/sql/catalyst/expressions/IntervalExpressionsSuite.scala:
##########
@@ -316,7 +316,7 @@ class IntervalExpressionsSuite extends SparkFunSuite with
ExpressionEvalHelper {
val secFrac = DateTimeTestUtils.secFrac(seconds, millis, micros)
val durationExpr = MakeDTInterval(Literal(days), Literal(hours),
Literal(minutes),
Literal(Decimal(secFrac, Decimal.MAX_LONG_DIGITS, 6)))
- checkExceptionInExpression[ArithmeticException](durationExpr, EmptyRow,
"")
+ checkExceptionInExpression[ArithmeticException](durationExpr,
"ARITHMETIC_OVERFLOW.DATETIME")
Review Comment:
You probably mean INTERVAL_ARITHMETIC_OVERFLOW here
--
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]