amaliujia commented on a change in pull request #2301:
URL: https://github.com/apache/calcite/pull/2301#discussion_r548413547



##########
File path: 
core/src/main/java/org/apache/calcite/sql2rel/StandardConvertletTable.java
##########
@@ -860,6 +861,29 @@ public RexNode convertCall(
             : operandTypeChecker.getConsistency();
     final List<RexNode> exprs = convertOperands(cx, call, consistency);
     RelDataType type = rexBuilder.deriveReturnType(op, exprs);
+
+    //generate relation for `=(Row1,Row2)`
+    if (op.kind == SqlKind.EQUALS) {
+      RexNode expr0 = RexUtil.removeCast(exprs.get(0));
+      RexNode expr1 = RexUtil.removeCast(exprs.get(1));

Review comment:
       Actually why need to remove cast?




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


Reply via email to