You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@calcite.apache.org by "julianhyde (via GitHub)" <gi...@apache.org> on 2023/04/12 18:27:29 UTC
[GitHub] [calcite] julianhyde commented on a diff in pull request #3141: [CALCITE-5624] Add support to parse array function call with Spark
julianhyde commented on code in PR #3141:
URL: https://github.com/apache/calcite/pull/3141#discussion_r1164498886
##########
core/src/main/java/org/apache/calcite/sql/fun/SqlLibraryOperators.java:
##########
@@ -820,6 +820,22 @@ static RelDataType deriveTypeSplit(SqlOperatorBinding operatorBinding,
.withOperandTypeInference(InferTypes.RETURN_TYPE)
.withKind(SqlKind.CONCAT2);
+ private static final SqlReturnTypeInference ARRAY_RETURN_TYPE =
Review Comment:
these days we use methods rather than lambda constants. see e.g. `transformConvert`.
--
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-unsubscribe@calcite.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org