ibessonov commented on code in PR #2021:
URL: https://github.com/apache/ignite-3/pull/2021#discussion_r1184838881
##########
modules/storage-api/src/testFixtures/java/org/apache/ignite/internal/storage/index/impl/TestSortedIndexStorage.java:
##########
@@ -83,10 +79,19 @@ Iterator<RowId>
getRowIdIteratorForGetByBinaryTuple(BinaryTuple key) {
BinaryTuplePrefix higherBound = BinaryTuplePrefix.fromBinaryTuple(key);
//noinspection resource
- return scan(lowerBound, higherBound, GREATER_OR_EQUAL | LESS_OR_EQUAL)
- .stream()
- .map(IndexRow::rowId)
- .iterator();
+ PeekCursor<IndexRow> peekCursor = scan(lowerBound, higherBound,
GREATER_OR_EQUAL | LESS_OR_EQUAL);
+
+ return new Iterator<>() {
Review Comment:
Ok, I'll fix it then, not a big deal
--
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]