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 {
354354 }
355355 }
356356 CoalesceBatchesStreamState :: ReturnBuffer => {
357+ let _timer = cloned_time. timer ( ) ;
357358 // Combine buffered batches into one batch and return it.
358359 let batch = self . coalescer . finish_batch ( ) ?;
359360 // Set to pull state for the next iteration.
@@ -366,6 +367,7 @@ impl CoalesceBatchesStream {
366367 // If buffer is empty, return None indicating the stream is fully consumed.
367368 Poll :: Ready ( None )
368369 } else {
370+ let _timer = cloned_time. timer ( ) ;
369371 // If the buffer still contains batches, prepare to return them.
370372 let batch = self . coalescer . finish_batch ( ) ?;
371373 Poll :: Ready ( Some ( Ok ( batch) ) )
You can’t perform that action at this time.
0 commit comments