xiedeyantu commented on code in PR #4845:
URL: https://github.com/apache/calcite/pull/4845#discussion_r3001852011


##########
core/src/test/resources/sql/scalar.iq:
##########
@@ -18,6 +18,32 @@
 !set outputformat mysql
 !use scott
 
+# 5 test cases for [CALCITE-7443]  Incorrect simplification for large interval
+SELECT -(INTERVAL -2147483648 months);
+java.lang.ArithmeticException: integer overflow

Review Comment:
   No problem, let's set this aside for now.



-- 
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]

Reply via email to