EmilyMatt commented on code in PR #22064:
URL: https://github.com/apache/datafusion/pull/22064#discussion_r3201261544


##########
datafusion/physical-plan/src/spill/replayable_spill_input.rs:
##########
@@ -282,6 +282,9 @@ impl Stream for ReplayableSpillStream {
             }
             // The stream is exhausted, give the inner state ownership back to 
`ReplayableStreamSource`
             Poll::Ready(None) => {
+                // Release the input pipeline's resources.
+                this.inner =
+                    
Box::pin(EmptyRecordBatchStream::new(Arc::clone(&this.schema)));

Review Comment:
   Yeah fair point, applied



-- 
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]

Reply via email to