AMashenkov commented on a change in pull request #411:
URL: https://github.com/apache/ignite-3/pull/411#discussion_r740253088
##########
File path:
modules/calcite/src/main/java/org/apache/ignite/internal/processors/query/calcite/rel/IgniteProject.java
##########
@@ -135,7 +134,7 @@ public IgniteProject(RelInput input) {
if (fieldCollations.isEmpty())
return Pair.of(nodeTraits,
List.of(in.replace(RelCollations.EMPTY)));
- Map<Integer, Integer> targets = new HashMap<>();
+ Int2IntOpenHashMap targets = new Int2IntOpenHashMap();
Review comment:
`Integer newIndex = targets.get(inFieldCollation.getFieldIndex());`
below boxes value.
Seems, value can be null.
--
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]