nizhikov commented on a change in pull request #7704:
URL: https://github.com/apache/ignite/pull/7704#discussion_r427873967



##########
File path: 
modules/core/src/main/java/org/apache/ignite/internal/processors/cache/QueryCursorImpl.java
##########
@@ -92,6 +93,11 @@ public QueryCursorImpl(Iterable<T> iterExec, GridQueryCancel 
cancel, boolean isQ
         return new AutoClosableCursorIterator<>(this, iter());
     }
 
+    /** {@inheritDoc} */
+    @Override public Spliterator<T> spliterator() {
+        return iterExec == null ? QueryCursorEx.super.spliterator() : 
iterExec.spliterator();

Review comment:
       Do we have a scenario when `iterExec` is 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.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to