AMashenkov commented on a change in pull request #411:
URL: https://github.com/apache/ignite-3/pull/411#discussion_r740250413
##########
File path:
modules/calcite/src/main/java/org/apache/ignite/internal/processors/query/calcite/prepare/QueryTemplate.java
##########
@@ -104,7 +103,7 @@ public ExecutionPlan map(PlanningContext ctx) {
private List<Fragment> replace(List<Fragment> fragments, Fragment
fragment, List<Fragment> replacement) {
assert !nullOrEmpty(replacement);
- Map<Long, Long> newTargets = new HashMap<>();
+ Long2LongOpenHashMap newTargets = new Long2LongOpenHashMap();
Review comment:
`Long newTargetId = newTargets.get(sender.exchangeId());` return boxed
value.
Seems, values 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]