timoninmaxim commented on code in PR #11342:
URL: https://github.com/apache/ignite/pull/11342#discussion_r1599532421
##########
modules/core/src/main/java/org/apache/ignite/internal/cache/query/index/IndexQueryProcessor.java:
##########
@@ -125,14 +132,39 @@ public <K, V> IndexQueryResult<K, V> queryLocal(
IgniteBiTuple<K, V> row = currVal;
+ if (isRecordable) {
+ K k = unwrap(row.getKey(), keepBinary);
Review Comment:
Code duplication, you already have the K and V in `onHasNext`. Just move
events to this method. Note, that filtered entries should not raise the event
--
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]