vlsi commented on a change in pull request #2617:
URL: https://github.com/apache/calcite/pull/2617#discussion_r756761512



##########
File path: core/src/main/java/org/apache/calcite/plan/SubstitutionVisitor.java
##########
@@ -376,7 +376,7 @@ private static RexNode canonizeNode(RexBuilder rexBuilder, 
RexNode condition) {
         return rexBuilder.makeCall(call.getOperator(), left, right);
       }
 
-      RexNode newCall = rexBuilder.makeCall(call.getOperator(), right, left);
+      RexNode newCall = rexBuilder.makeCall(call.getOperator(), left, right);

Review comment:
       I believe it is not an error.
   The reordering is intentional: note the comparison in the previous line




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