alamb commented on issue #9016: URL: https://github.com/apache/arrow-datafusion/issues/9016#issuecomment-2050351985
> so if i can reformulate my question 2, "who will inform source that it should wrap up for this execution and shut down ? :)" I think this needs to be handled by the containing system (nothing in DataFusion will do it directly). It would have to hold on to some reference to the source that can be signaled to stop. In terms of shutdown, when the stream is `drop`ed, it will shutdown all resources attached to the executing plan. This is described a bit here https://docs.rs/datafusion/latest/datafusion/physical_plan/trait.ExecutionPlan.html#cancellation--aborting-execution. However, this doesn't do anything to save state as would be required in a streaming system -- 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]
