Skip to content

Commit c5ed684

Browse files
committed
WIP
1 parent 6f98d25 commit c5ed684

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

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

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1147,9 +1147,7 @@ impl NestedLoopJoinStream {
11471147
left_data,
11481148
metrics,
11491149
buffered_left_data: None,
1150-
// Use at least 8 to avoid debug_assert in arrow-select's BatchCoalescer
1151-
// where Vec::reserve(n) for small n can allocate more capacity than n
1152-
output_buffer: Box::new(BatchCoalescer::new(schema, batch_size.max(8))),
1150+
output_buffer: Box::new(BatchCoalescer::new(schema, batch_size)),
11531151
batch_size,
11541152
current_right_batch: None,
11551153
current_right_batch_matched: None,

0 commit comments

Comments
 (0)