mihaibudiu commented on code in PR #3640:
URL: https://github.com/apache/calcite/pull/3640#discussion_r1495155596
##########
core/src/test/java/org/apache/calcite/test/enumerable/EnumerableCorrelateTest.java:
##########
@@ -142,10 +142,10 @@ class EnumerableCorrelateTest {
tester(false, new HrSchema())
.query(
"select empid, name from emps e where exists (select 1 from depts
d where d.deptno=e.deptno)")
- .explainContains(""
- + "EnumerableCalc(expr#0..5=[{inputs}], empid=[$t0], name=[$t2])\n"
- + " EnumerableCorrelate(correlation=[$cor0], joinType=[inner],
requiredColumns=[{1}])\n"
- + " EnumerableTableScan(table=[[s, emps]])\n"
+ .explainContains("EnumerableCalc(expr#0..3=[{inputs}], empid=[$t0],
name=[$t2])\n "
Review Comment:
was the previous plan incorrect?
If not, can you provide a test case for which the previous plan was
incorrect, but it is now correct?
--
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]