Skip to content

Commit b164328

Browse files
committed
post-merge fixes
1 parent f2b72f2 commit b164328

File tree

2 files changed

+5
-8
lines changed

2 files changed

+5
-8
lines changed

datafusion/physical-plan/src/joins/hash_join.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1159,10 +1159,7 @@ impl HashJoinStream {
11591159
fn poll_next_impl(
11601160
&mut self,
11611161
cx: &mut std::task::Context<'_>,
1162-
) -> Poll<Option<Result<RecordBatch>>>
1163-
where
1164-
Self: Send,
1165-
{
1162+
) -> Poll<Option<Result<RecordBatch>>> {
11661163
loop {
11671164
return match self.state {
11681165
HashJoinStreamState::WaitBuildSide => {

datafusion/physical-plan/src/joins/stream_join_utils.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -759,7 +759,7 @@ pub trait EagerJoinStream {
759759
match self.right_stream().next().await {
760760
Some(Ok(batch)) => {
761761
if batch.num_rows() == 0 {
762-
return Ok(StreamJoinStateResult::Continue);
762+
return Ok(StatefulStreamResult::Continue);
763763
}
764764

765765
self.set_state(EagerJoinStreamState::PullLeft);
@@ -788,7 +788,7 @@ pub trait EagerJoinStream {
788788
match self.left_stream().next().await {
789789
Some(Ok(batch)) => {
790790
if batch.num_rows() == 0 {
791-
return Ok(StreamJoinStateResult::Continue);
791+
return Ok(StatefulStreamResult::Continue);
792792
}
793793
self.set_state(EagerJoinStreamState::PullRight);
794794
self.process_batch_from_left(batch)
@@ -817,7 +817,7 @@ pub trait EagerJoinStream {
817817
match self.left_stream().next().await {
818818
Some(Ok(batch)) => {
819819
if batch.num_rows() == 0 {
820-
return Ok(StreamJoinStateResult::Continue);
820+
return Ok(StatefulStreamResult::Continue);
821821
}
822822
self.process_batch_after_right_end(batch)
823823
}
@@ -847,7 +847,7 @@ pub trait EagerJoinStream {
847847
match self.right_stream().next().await {
848848
Some(Ok(batch)) => {
849849
if batch.num_rows() == 0 {
850-
return Ok(StreamJoinStateResult::Continue);
850+
return Ok(StatefulStreamResult::Continue);
851851
}
852852
self.process_batch_after_left_end(batch)
853853
}

0 commit comments

Comments
 (0)