chunweilei commented on a change in pull request #1161: [CALCITE-2986] Wrong 
results with =ANY subquery
URL: https://github.com/apache/calcite/pull/1161#discussion_r275098533
 
 

 ##########
 File path: 
core/src/test/java/org/apache/calcite/test/SqlToRelConverterTest.java
 ##########
 @@ -1389,6 +1389,12 @@ public void testJoinUsingDynamicTable() {
     sql(sql).expand(false).ok();
   }
 
+  @Test public void testSomeWithEquality() {
+    final String sql = "select empno from emp where deptno = some (\n"
+        + "  select deptno from dept)";
+    sql(sql).expand(false).ok();
+  }
+
 
 Review comment:
   Would you please add a test for `=ANY`?

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

Reply via email to