timoninmaxim commented on code in PR #13744:
URL: https://github.com/apache/ignite/pull/13744#discussion_r4372038844
##########
modules/core/src/main/java/org/apache/ignite/internal/processors/cache/query/GridCacheQueryManager.java:
##########
@@ -1160,7 +1160,7 @@ public GridCloseableIterator indexQueryLocal(final
CacheQuery qry) throws Ignite
private int cnt;
@Override protected Object onNext() throws
IgniteCheckedException {
- IgniteBiTuple<K, V> entry = iter.nextX();
+ IgniteBiTuple<K, V> entry = (IgniteBiTuple<K,
V>)cctx.unwrapBinaryIfNeeded(iter.nextX(), qry.keepBinary(), false, null);
Review Comment:
Key/Value can be unwrap separately to avoid allocation of an additional
tuple.
--
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]