JiajunBernoulli commented on code in PR #3574:
URL: https://github.com/apache/calcite/pull/3574#discussion_r1421300392
##########
core/src/main/java/org/apache/calcite/sql/SqlCall.java:
##########
@@ -181,6 +181,10 @@ public int operandCount() {
if
(!this.getOperator().getName().equalsIgnoreCase(that.getOperator().getName())) {
return litmus.fail("{} != {}", this, node);
}
+ // For same name but different kind
+ if (this.getOperator().getKind() != that.getOperator().getKind()) {
Review Comment:
@jiefei30
If you could provide an additional method,
it might be better than modifying the public method.
--
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]