KKcorps commented on a change in pull request #6105:
URL: https://github.com/apache/incubator-pinot/pull/6105#discussion_r499735864



##########
File path: 
pinot-common/src/main/java/org/apache/pinot/common/function/FunctionUtils.java
##########
@@ -42,6 +42,11 @@ private FunctionUtils() {
     put(Double.class, PinotDataType.DOUBLE);
     put(String.class, PinotDataType.STRING);
     put(byte[].class, PinotDataType.BYTES);
+    put(int[].class, PinotDataType.INTEGER_ARRAY);
+    put(String[].class, PinotDataType.STRING_ARRAY);
+    put(long[].class, PinotDataType.LONG_ARRAY);
+    put(float[].class, PinotDataType.FLOAT_ARRAY);
+    put(double[].class, PinotDataType.DOUBLE_ARRAY);

Review comment:
       Also, add non-primitive data types e.g. Integer[], Long[]




----------------------------------------------------------------
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.

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



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

Reply via email to