Copilot commented on code in PR #15848: URL: https://github.com/apache/pinot/pull/15848#discussion_r2097653471
########## pinot-query-runtime/src/main/java/org/apache/pinot/query/runtime/operator/join/LookupTable.java: ########## @@ -68,6 +68,13 @@ protected static void convertValueToList(Map.Entry<?, Object> entry) { } } + protected static Object convertArrayToList(Object value) { + if (value instanceof Object[]) { + return Collections.singletonList(value); Review Comment: In the convertArrayToList method, using Collections.singletonList(value) wraps the entire array as a single element. If the intent is to convert the Object[] into a list of its elements, consider using Arrays.asList((Object[]) value). ```suggestion return Arrays.asList((Object[]) value); ``` -- 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-unsubscr...@pinot.apache.org 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