AMashenkov commented on a change in pull request #498:
URL: https://github.com/apache/ignite-3/pull/498#discussion_r769701776



##########
File path: 
modules/calcite/src/main/java/org/apache/ignite/internal/processors/query/calcite/trait/TraitUtils.java
##########
@@ -575,7 +576,7 @@ private static boolean fillRecursive(RelTraitSet outTraits, 
List<List<RelTraitSe
      * @param keys The keys to create collation from.
      * @return New collation.
      */
-    public static RelCollation createCollation(List<Integer> keys) {
+    public static RelCollation createCollation(IntSet keys) {
         return RelCollations.of(
                 
keys.stream().map(RelFieldCollation::new).collect(Collectors.toList())

Review comment:
       key
   ```suggestion
                   
keys.intStream().mapToObj(RelFieldCollation::new).collect(Collectors.toList())
   ```




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


Reply via email to