Vladsz83 commented on code in PR #12038:
URL: https://github.com/apache/ignite/pull/12038#discussion_r2061491515
##########
modules/calcite/src/main/java/org/apache/ignite/internal/processors/query/calcite/metadata/FragmentMapping.java:
##########
@@ -60,7 +60,7 @@ private FragmentMapping(List<ColocationGroup>
colocationGroups) {
/** */
public static FragmentMapping create() {
- return new FragmentMapping(Collections.emptyList());
+ return new FragmentMapping(new ColocationGroup());
Review Comment:
To me, empty list is better. It doesn't create an object.
--
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]