xiangfu0 commented on code in PR #11104:
URL: https://github.com/apache/pinot/pull/11104#discussion_r1263093994
##########
pinot-common/src/main/java/org/apache/pinot/common/function/TransformFunctionType.java:
##########
@@ -125,7 +125,10 @@ public enum TransformFunctionType {
ARRAYMAX("arrayMax"),
ARRAYSUM("arraySum"),
VALUEIN("valueIn"),
- MAPVALUE("mapValue"),
+ MAPVALUE("mapValue", ReturnTypes.cascade(opBinding ->
Review Comment:
ARG2 is an array of X, X={INT, STRING, ...}, the return table should be this
X.
##########
pinot-common/src/main/java/org/apache/pinot/common/function/TransformFunctionType.java:
##########
@@ -125,7 +125,10 @@ public enum TransformFunctionType {
ARRAYMAX("arrayMax"),
ARRAYSUM("arraySum"),
VALUEIN("valueIn"),
- MAPVALUE("mapValue"),
+ MAPVALUE("mapValue", ReturnTypes.cascade(opBinding ->
Review Comment:
ARG2 is an array of X, X={INT, STRING, ...}, the return type should be this
X.
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]