tanclary commented on code in PR #3041: URL: https://github.com/apache/calcite/pull/3041#discussion_r1086115587
########## core/src/main/java/org/apache/calcite/sql/fun/SqlStdOperatorTable.java: ########## @@ -1903,8 +1903,23 @@ public class SqlStdOperatorTable extends ReflectiveSqlOperatorTable { /** The <code>TIMESTAMPDIFF</code> function. */ public static final SqlFunction TIMESTAMP_DIFF = new SqlTimestampDiffFunction("TIMESTAMPDIFF", - OperandTypes.family(SqlTypeFamily.ANY, SqlTypeFamily.TIMESTAMP, - SqlTypeFamily.TIMESTAMP)); + OperandTypes.family(SqlTypeFamily.ANY, SqlTypeFamily.TIMESTAMP, SqlTypeFamily.TIMESTAMP) + .or( Review Comment: I +1 this, I meant to keep it the same in my original change but slipped up and put SqlTypeFamily.TIMESTAMP instead. My mistake. -- 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