bratwurzt opened a new pull request #7704:
URL: https://github.com/apache/ignite/pull/7704
Because QueryKeyValueIterable does not implement spliterator, calling
`spliterator().hasCharacteristics(Spliterator.SIZED)` will construct a new
Spliterator with
`java.util.Spliterators#spliteratorUnknownSize(java.util.Iterator<? extends T>,
int)` and that will call
`org.apache.ignite.internal.processors.cache.QueryCursorImpl#iter` again, thus
throwing exception `throw new IgniteException("Iterator is already fetched or
query was cancelled.")`
----------------------------------------------------------------
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]