raghavyadav01 commented on code in PR #27731:
URL: https://github.com/apache/datafusion/pull/27731#discussion_r4713356034
##########
datafusion/physical-plan/src/joins/sort_merge_join/materializing_stream.rs:
##########
@@ -1057,9 +1056,7 @@ impl MaterializingSortMergeJoinStream {
if !self.joined_record_batches.joined_batches.is_empty() {
let out_filtered_batch = self.filter_joined_batch()?;
- self.output
- .push_batch(out_filtered_batch)
- .expect("Failed to push output batch");
+ self.output.push_batch(out_filtered_batch)?;
Review Comment:
The test only reaches the `on_children_exhausted` push. If I put the
`expect` back here it still passes. Could we add a third right batch (and widen
the left side to 300 rows) so this path is covered too?
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]