timoninmaxim commented on code in PR #11816:
URL: https://github.com/apache/ignite/pull/11816#discussion_r1923500144


##########
modules/core/src/main/java/org/apache/ignite/internal/cache/query/index/sorted/inline/InlineTreeFilterClosure.java:
##########
@@ -56,12 +60,20 @@ public InlineTreeFilterClosure(IndexingQueryCacheFilter 
cacheFilter,
         if (!val)
             return false;
 
-        if (rowFilter != null)
+        if (rowFilter != null) {
             val = rowFilter.apply(tree, io, pageAddr, idx);
 
+            lastRow = rowFilter.lastRow();
+        }
+
         return val;
     }
 
+    /** {@inheritDoc} */
+    @Override public @Nullable IndexRow lastRow() {
+        return lastRow;

Review Comment:
   We actually need `lastRow`, in case a row is filtered by `cacheFilter` it 
should return `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: notifications-unsubscr...@ignite.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to