chunweilei commented on a change in pull request #1414: [CALCITE-3293] Add
strcmp function.
URL: https://github.com/apache/calcite/pull/1414#discussion_r317569695
##########
File path: core/src/test/java/org/apache/calcite/test/SqlFunctionsTest.java
##########
@@ -79,6 +80,12 @@
assertEquals("nullb", concat(null, "b"));
}
+ @Test public void testStrcmp() {
+ assert -1 == strcmp("text", "text2");
+ assert 1 == strcmp("text2", "text");
+ assert 0 == strcmp("text", "text");
+ }
+
Review comment:
Please correct the commit message. You should add issue id to it.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services