We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6f98d25 commit c5ed684Copy full SHA for c5ed684
1 file changed
datafusion/physical-plan/src/joins/nested_loop_join.rs
@@ -1147,9 +1147,7 @@ impl NestedLoopJoinStream {
1147
left_data,
1148
metrics,
1149
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))),
+ output_buffer: Box::new(BatchCoalescer::new(schema, batch_size)),
1153
batch_size,
1154
current_right_batch: None,
1155
current_right_batch_matched: None,
0 commit comments