zstan commented on a change in pull request #9103: URL: https://github.com/apache/ignite/pull/9103#discussion_r643788111
########## File path: modules/calcite/src/test/java/org/apache/ignite/internal/processors/query/calcite/CalciteQueryProcessorTest.java ########## @@ -1216,6 +1216,35 @@ public void testInfixTypeCast() { assertThat(qCur.fieldsMeta().get(3).fieldTypeName(), equalTo(String.class.getName())); } + @Test + public void quantifiedCompTest() throws InterruptedException { + populateTables(); + + assertQuery(client, "select salary from account where salary > SOME (10, 11) ORDER BY salary") + .returns(11d) + .returns(12d) + .returns(13d) + .returns(13d) + .returns(13d) + .check(); + + assertQuery(client, "select salary from account where salary < SOME (12, 12) ORDER BY salary") + .returns(10d) + .returns(11d) + .check(); + + assertQuery(client, "select salary from account where salary < ANY (11, 12) ORDER BY salary") + .returns(10d) + .returns(11d) + .check(); + + assertQuery(client, "select salary from account where salary > ANY (12, 13) ORDER BY salary") + .returns(13d) + .returns(13d) + .returns(13d) + .check(); + } Review comment: https://issues.apache.org/jira/browse/IGNITE-14721 yep, i found it too, already touched. -- 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: us...@infra.apache.org