mustafasrepo commented on code in PR #9815:
URL: https://github.com/apache/arrow-datafusion/pull/9815#discussion_r1542392108


##########
datafusion/physical-plan/src/coalesce_batches.rs:
##########
@@ -83,6 +83,9 @@ impl CoalesceBatchesExec {
             input.execution_mode(),                 // Execution Mode
         )
     }
+    pub fn set_target_batch_size(&mut self, siz: usize) {
+        self.target_batch_size = siz;

Review Comment:
   Instead of overwriting `target_batch_size`. We can add `fetch: 
Option<usize>`. `CoalesceBatchesExec` can emit when hit to this count also. As 
well as `target_batch_size`.



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