NobiGo commented on code in PR #4116:
URL: https://github.com/apache/calcite/pull/4116#discussion_r1900054068
##########
core/src/test/resources/sql/misc.iq:
##########
@@ -18,6 +18,40 @@
!use post
!set outputformat mysql
+# [CALCITE-6751] Reduction of CAST from string to interval is incorrect
+SELECT TIME '10:00:00' + CAST('1' AS INTERVAL SECOND);
++----------+
+| EXPR$0 |
++----------+
+| 10:00:01 |
++----------+
+(1 row)
+
+!ok
+
+# Unfortunately, due to CALCITE-6752 the following test crashes
+# SELECT TIME '10:00:00' + CAST('1.1' AS INTERVAL SECOND);
Review Comment:
Can the annotations here add the correct results?Even if it can't run 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]