Vladsz83 commented on code in PR #11947:
URL: https://github.com/apache/ignite/pull/11947#discussion_r2001433325


##########
modules/calcite/src/main/java/org/apache/ignite/internal/processors/query/calcite/rel/IgniteFilter.java:
##########
@@ -171,6 +171,16 @@ public IgniteFilter(RelInput input) {
                 // Remap correlate fields to input fields.
                 int corrFieldsCnt = 
((RexNode)corr.getNode()).getType().getFieldCount();
                 int inputFieldsCnt = getRowType().getFieldCount();
+
+                // Calcite during planning can add fields to the left hand of 
the correlated join, but without proper

Review Comment:
   Minor: 'add fields' mihght be changed to smth. like 'swap' or 'commute'. 
Actually, the test query's join has the same 4 fields of the row type. This is 
result of JoinCommuteRule. It seems not to produce other, wider join row types.



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

Reply via email to