zstan commented on code in PR #1224:
URL: https://github.com/apache/ignite-3/pull/1224#discussion_r1003447482
##########
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:
we don`t use BlockingQueue features here, or i miss smth ? It can be easily
changed in future.
--
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]