zstan commented on code in PR #2047:
URL: https://github.com/apache/ignite-3/pull/2047#discussion_r1201534004


##########
modules/runner/src/integrationTest/java/org/apache/ignite/internal/sql/engine/ItFunctionsTest.java:
##########
@@ -294,7 +294,6 @@ public void testSubstr() {
         assertQuery("SELECT SUBSTR('abcdefg', 2)").returns("bcdefg");
         assertQuery("SELECT SUBSTR('abcdefg', -1)").returns("abcdefg");
         assertQuery("SELECT SUBSTR('abcdefg', 1, -3)").returns("");
-        assertQuery("SELECT SUBSTR(1000, 1, 3)").returns("100");

Review Comment:
   change it into : SELECT SUBSTR(1000::varchar(4), 1, 3)



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