Skip to content

Commit

Permalink
incoming StreamJoinStateResult changes updated
Browse files Browse the repository at this point in the history
  • Loading branch information
korowa committed Dec 16, 2023
1 parent f2b72f2 commit 1475e8e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions datafusion/physical-plan/src/joins/stream_join_utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -759,7 +759,7 @@ pub trait EagerJoinStream {
match self.right_stream().next().await {
Some(Ok(batch)) => {
if batch.num_rows() == 0 {
return Ok(StreamJoinStateResult::Continue);
return Ok(StatefulStreamResult::Continue);
}

self.set_state(EagerJoinStreamState::PullLeft);
Expand Down Expand Up @@ -788,7 +788,7 @@ pub trait EagerJoinStream {
match self.left_stream().next().await {
Some(Ok(batch)) => {
if batch.num_rows() == 0 {
return Ok(StreamJoinStateResult::Continue);
return Ok(StatefulStreamResult::Continue);
}
self.set_state(EagerJoinStreamState::PullRight);
self.process_batch_from_left(batch)
Expand Down Expand Up @@ -817,7 +817,7 @@ pub trait EagerJoinStream {
match self.left_stream().next().await {
Some(Ok(batch)) => {
if batch.num_rows() == 0 {
return Ok(StreamJoinStateResult::Continue);
return Ok(StatefulStreamResult::Continue);
}
self.process_batch_after_right_end(batch)
}
Expand Down Expand Up @@ -847,7 +847,7 @@ pub trait EagerJoinStream {
match self.right_stream().next().await {
Some(Ok(batch)) => {
if batch.num_rows() == 0 {
return Ok(StreamJoinStateResult::Continue);
return Ok(StatefulStreamResult::Continue);
}
self.process_batch_after_left_end(batch)
}
Expand Down

0 comments on commit 1475e8e

Please sign in to comment.