jonathanc-n commented on code in PR #16727:
URL: https://github.com/apache/datafusion/pull/16727#discussion_r2195347175


##########
datafusion/physical-plan/src/joins/hash_join.rs:
##########
@@ -980,6 +980,17 @@ async fn collect_left_input(
         })
         .await?;
 
+    if batches.len() == 0 {

Review Comment:
   If you add this code:
   
   ```rust 
   
   if batches.len() == 0 {
       return Ok(JoinLeftData::new(
           Box::new(JoinHashMapU32::with_capacity(0)),
           RecordBatch::new_empty(schema),
           Vec::new(),
           Mutex::new(BooleanBufferBuilder::new(0)),
           AtomicUsize::new(probe_threads_count),
           reservation,
       ));
   };
   
   ```
   and run sqllogictests it should direct you to the queries



-- 
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...@datafusion.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org
For additional commands, e-mail: github-h...@datafusion.apache.org

Reply via email to