File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
datafusion/physical-plan/src Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -354,6 +354,7 @@ impl CoalesceBatchesStream {
354
354
}
355
355
}
356
356
CoalesceBatchesStreamState :: ReturnBuffer => {
357
+ let _timer = cloned_time. timer ( ) ;
357
358
// Combine buffered batches into one batch and return it.
358
359
let batch = self . coalescer . finish_batch ( ) ?;
359
360
// Set to pull state for the next iteration.
@@ -366,6 +367,7 @@ impl CoalesceBatchesStream {
366
367
// If buffer is empty, return None indicating the stream is fully consumed.
367
368
Poll :: Ready ( None )
368
369
} else {
370
+ let _timer = cloned_time. timer ( ) ;
369
371
// If the buffer still contains batches, prepare to return them.
370
372
let batch = self . coalescer . finish_batch ( ) ?;
371
373
Poll :: Ready ( Some ( Ok ( batch) ) )
You can’t perform that action at this time.
0 commit comments