jorgecarleitao commented on a change in pull request #8503: URL: https://github.com/apache/arrow/pull/8503#discussion_r513654504
########## File path: rust/datafusion/src/physical_plan/merge.rs ########## @@ -103,37 +105,56 @@ impl ExecutionPlan for MergeExec { self.input.execute(0).await } _ => { - let tasks = (0..input_partitions).map(|part_i| { + let (sender, receiver) = mpsc::unbounded::<ArrowResult<RecordBatch>>(); Review comment: At this point I am ashamed of the immoral amount of time I spent on this 😠I am getting convinced that I should have kept the other PR with the iterator. IMO that was easy to reason about (and there was already a 50% performance improvement xD ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org