jamesstarr commented on a change in pull request #2571:
URL: https://github.com/apache/calcite/pull/2571#discussion_r724422178
##########
File path:
core/src/test/java/org/apache/calcite/test/enumerable/EnumerableCorrelateTest.java
##########
@@ -168,6 +168,41 @@
"empid=200");
}
+
+ @Test void complexNestedCorrelatedSubquery() {
+ //final String sql = "SELECT t1.empid FROM emps t1 LEFT JOIN emps t2 ON
t2.empid<=100";
+
+ String sql = "SELECT t1.empid FROM emps t1 LEFT JOIN emps t2 ON (SELECT
t2.empid)<=101";
+
+ tester(false, new HrSchema())
+ .query(sql)
+ .returnsUnordered(
Review comment:
Shouldn't this have 12 results
--
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]