zstan commented on code in PR #3335:
URL: https://github.com/apache/ignite-3/pull/3335#discussion_r1524350430
##########
modules/sql-engine/src/test/java/org/apache/ignite/internal/sql/engine/prepare/pruning/PartitionPruningPredicateSelfTest.java:
##########
@@ -205,13 +208,15 @@ private static PartitionWithConsistencyToken
computeExpectedPartition(
return new PartitionWithConsistencyToken(p,
expected.enlistmentConsistencyToken());
}
- private static List<NodeWithConsistencyToken>
randomAssignments(IgniteTable table, List<String> nodeNames) {
- return IntStream.range(0, table.partitions())
+ private static Int2ObjectMap<NodeWithConsistencyToken>
randomAssignments(IgniteTable table, List<String> nodeNames) {
+ Map<Integer, NodeWithConsistencyToken> map = IntStream.range(0,
table.partitions())
Review Comment:
done thanks
--
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]