julianhyde commented on code in PR #3260:
URL: https://github.com/apache/calcite/pull/3260#discussion_r1232919643
##########
core/src/main/java/org/apache/calcite/sql/fun/SqlLibraryOperators.java:
##########
@@ -878,6 +880,28 @@ private static RelDataType
arrayReturnType(SqlOperatorBinding opBinding) {
SqlLibraryOperators::arrayReturnType,
OperandTypes.SAME_VARIADIC);
+ @SuppressWarnings("argument.type.incompatible")
+ private static RelDataType arrayAppendPrependReturnType(SqlOperatorBinding
opBinding) {
Review Comment:
@JiajunBernoulli, I think it's OK. There are already a few methods like this
that help define the return type (and are used via `::` method references to
become lambdas)
--
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]