herunkang2018 commented on code in PR #3303: URL: https://github.com/apache/calcite/pull/3303#discussion_r1266747875
########## testkit/src/main/java/org/apache/calcite/test/SqlOperatorTest.java: ########## @@ -6618,6 +6618,60 @@ private static void checkIf(SqlOperatorFixture f) { f.checkNull("pow(cast(null as integer), 2)"); } + @Test void testInfinity() { + final SqlOperatorFixture f = fixture(); + f.checkScalar("CAST('Infinity' AS DOUBLE)", "Infinity", Review Comment: Would it be better to align the case of keywords, such as keep lower case as other test cases? -- 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: commits-unsubscr...@calcite.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org