zstan commented on a change in pull request #2571:
URL: https://github.com/apache/calcite/pull/2571#discussion_r726997576
##########
File path:
core/src/test/java/org/apache/calcite/test/enumerable/EnumerableCorrelateTest.java
##########
@@ -168,6 +168,62 @@
"empid=200");
}
+ /** Test case for
+ * <a
href="https://issues.apache.org/jira/browse/CALCITE-4833">[CALCITE-4833]
+ * Complex nested correlated subquery failed</a>.
+ */
+ @Test void complexNestedCorrelatedSubquery() {
+ 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:
done
--
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]