zhuqi-lucas commented on code in PR #8146: URL: https://github.com/apache/arrow-rs/pull/8146#discussion_r2280417968
########## arrow-select/src/coalesce.rs: ########## @@ -290,6 +323,25 @@ impl BatchCoalescer { Ok(()) } + /// Returns the number of buffered rows + pub fn get_buffered_rows(&self) -> usize { + self.buffered_rows + } + + /// Push a batch directly to the completed batches + pub fn flush_buffer_and_push_batch_to_completed( Review Comment: Thank you @alamb for good suggestion! -- 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: github-unsubscr...@arrow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org