FatLittle commented on a change in pull request #1991:
URL: https://github.com/apache/calcite/pull/1991#discussion_r432251842
##########
File path: core/src/test/resources/sql/misc.iq
##########
@@ -378,14 +378,14 @@ where exists (select 1 from "hr"."emps" where "empid" <
0);
(0 rows)
!ok
-EnumerableCalc(expr#0..1=[{inputs}], deptno=[$t0])
+EnumerableCalc(expr#0..1=[{inputs}], deptno=[$t1])
EnumerableNestedLoopJoin(condition=[true], joinType=[inner])
Review comment:
Some join factors are swapped because when rule applying sequence
changes, the id of join factors also changed. And EnumerableNestedLoopJoin has
a special handling that it prefers left branch having a lower id than the right
branch.
----------------------------------------------------------------
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]