Vladsz83 commented on code in PR #12038:
URL: https://github.com/apache/ignite/pull/12038#discussion_r2061609738


##########
modules/calcite/src/main/java/org/apache/ignite/internal/processors/query/calcite/metadata/ColocationGroup.java:
##########
@@ -92,8 +92,8 @@ public ColocationGroup local(UUID nodeId) {
                     .collect(Collectors.toList());
         }
 
-        return new ColocationGroup(Arrays.copyOf(sourceIds, sourceIds.length), 
Collections.singletonList(nodeId),
-                locAssignments);
+        return new ColocationGroup(sourceIds == null ? null : 
Arrays.copyOf(sourceIds, sourceIds.length),

Review Comment:
   Does any test cover this? Or It just fails somewhere else?



-- 
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: notifications-unsubscr...@ignite.apache.org

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

Reply via email to