You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pinot.apache.org by GitBox <gi...@apache.org> on 2022/12/05 19:15:13 UTC

[GitHub] [pinot] klsince commented on a diff in pull request #9908: Allow collections for MV transform functions

klsince commented on code in PR #9908:
URL: https://github.com/apache/pinot/pull/9908#discussion_r1039984448


##########
pinot-common/src/main/java/org/apache/pinot/common/function/FunctionUtils.java:
##########
@@ -80,6 +80,8 @@ private FunctionUtils() {
     put(Double[].class, PinotDataType.DOUBLE_ARRAY);
     put(String[].class, PinotDataType.STRING_ARRAY);
     put(Object.class, PinotDataType.OBJECT);
+    put(Object[].class, PinotDataType.OBJECT_ARRAY);
+    put(java.util.Collection.class, PinotDataType.COLLECTION);

Review Comment:
   nit: import Collection



-- 
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@pinot.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org