alex-plekhanov commented on code in PR #13407:
URL: https://github.com/apache/ignite/pull/13407#discussion_r3675273797


##########
modules/calcite/src/main/java/org/apache/ignite/internal/processors/query/calcite/exec/rel/CollectNode.java:
##########
@@ -114,6 +114,11 @@ public static <Row> CollectNode<Row> 
createCountCollector(ExecutionContext<Row>
 
         if (waiting == 0)
             source().request(waiting = IN_BUFFER_SIZE);

Review Comment:
   This node always produce one row. But can collect it from unlimited data 
set, so it's worth to request from input more rows than requested from 
downstream.



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