danny0405 commented on a change in pull request #2264:
URL: https://github.com/apache/calcite/pull/2264#discussion_r523864020



##########
File path: core/src/main/java/org/apache/calcite/sql/SqlCall.java
##########
@@ -146,6 +146,9 @@ public int operandCount() {
       return litmus.fail("{} != {}", this, node);
     }
     SqlCall that = (SqlCall) node;
+    if (!equalDeep(this.getFunctionQuantifier(), that.getFunctionQuantifier(), 
litmus)) {
+      return litmus.fail("{} != {}", this, node);
+    }

Review comment:
       Thanks for the fix, can you also add test case there.




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