alamb opened a new issue, #15108: URL: https://github.com/apache/datafusion/issues/15108
### Describe the bug This code is marked as an [internal error ](https://docs.rs/datafusion/latest/datafusion/common/enum.DataFusionError.html#variant.Internal)(meaning it should not happen unless there is a bug): https://github.com/apache/datafusion/blob/05bb56913ecaeed981c8913cca030af482e6c39b/datafusion/physical-plan/src/stream.rs#L126-L131 However, we have clear evidence that it can happen when the tokio runtime is shutdown / cancelled in this ticket - https://github.com/apache/datafusion/issues/15065 ### To Reproduce - See https://github.com/apache/datafusion/issues/15065 ### Expected behavior I expect the error to be an "execution error" not an internal error (just switch the error type) ### Additional context _No response_ -- 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: github-unsubscr...@datafusion.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org For additional commands, e-mail: github-h...@datafusion.apache.org