tustvold commented on code in PR #2317: URL: https://github.com/apache/arrow-datafusion/pull/2317#discussion_r856068064
########## datafusion/core/src/physical_plan/hash_join.rs: ########## @@ -294,150 +296,85 @@ impl ExecutionPlan for HashJoinExec { context: Arc<TaskContext>, ) -> Result<SendableRecordBatchStream> { let on_left = self.on.iter().map(|on| on.0.clone()).collect::<Vec<_>>(); - // we only want to compute the build side once for PartitionMode::CollectLeft - let left_data = { - match self.mode { - PartitionMode::CollectLeft => { - let mut build_side = self.build_side.lock().await; - - match build_side.as_ref() { - Some(stream) => stream.clone(), - None => { - let start = Instant::now(); Review Comment: This logic is moved into collect_left_input -- 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