zstan commented on code in PR #1224:
URL: https://github.com/apache/ignite-3/pull/1224#discussion_r1003604649


##########
modules/sql-engine/src/main/java/org/apache/ignite/internal/sql/engine/exec/rel/TableScanNode.java:
##########
@@ -241,9 +241,7 @@ public void onNext(BinaryRow binRow) {
 
             inBuff.add(row);
 
-            if (++received == inBufSize) {
-                received = 0;
-
+            if (inBuff.size() == inBufSize) {

Review Comment:
   I suppose no need for using BlockingQueue here, it`s by now only for 
convenience



-- 
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]

Reply via email to