caicancai commented on code in PR #3785: URL: https://github.com/apache/calcite/pull/3785#discussion_r1592622981
########## core/src/main/java/org/apache/calcite/sql/type/OperandTypes.java: ########## @@ -986,6 +986,14 @@ public static SqlSingleOperandTypeChecker same(int operandCount, public static final SqlSingleOperandTypeChecker ANY_ANY = family(SqlTypeFamily.ANY, SqlTypeFamily.ANY); + + public static final SqlSingleOperandTypeChecker SECOND_THIRD_SAME = + new SameOperandTypeChecker(3) { Review Comment: This is also the case with calcite currently. I have tested it. -- 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: commits-unsubscr...@calcite.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org