vranes commented on code in PR #59239:
URL: https://github.com/apache/spark/pull/59239#discussion_r4195769167
##########
sql/core/src/test/scala/org/apache/spark/sql/BinBySuite.scala:
##########
@@ -428,6 +430,32 @@ class BinBySuite extends QueryTest with SharedSparkSession
{
}
}
+ test("BIN BY raises an overflow when the next bin index is not
representable") {
Review Comment:
Addressed the upper comment too, by wrapping errors in DATETIME_OVERFLOW.
--
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]