strongduanmu commented on code in PR #4074:
URL: https://github.com/apache/calcite/pull/4074#discussion_r1866787220
##########
core/src/main/java/org/apache/calcite/sql/fun/SqlLibraryOperators.java:
##########
@@ -1166,7 +1166,14 @@ static RelDataType deriveTypeSplit(SqlOperatorBinding
operatorBinding,
SqlKind.OTHER_FUNCTION,
ReturnTypes.BIGINT_NULLABLE,
null,
- OperandTypes.NUMERIC.or(OperandTypes.BINARY),
+ OperandTypes.or(OperandTypes.NUMERIC,
+ OperandTypes.BINARY,
+ OperandTypes.BOOLEAN,
+ OperandTypes.CHARACTER,
+ OperandTypes.DATETIME,
Review Comment:
Thanks for your feedback @mihaibudiu, is there any example I can refer to? I
am not familiar with the Calcite runtime and I will take some time to learn 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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]