viirya opened a new issue, #7509: URL: https://github.com/apache/arrow-datafusion/issues/7509
### Describe the bug Any error happened in the spawned task reading spills cannot propagate out currently. So these errors will be ignored and it doesn't look correct as the sorted result will be incorrect. ### To Reproduce For example, if file open limit is reduced to be less than the number of spills, when opening the spill file and getting an error, it won't cause any failure and the query will continue. ### Expected behavior _No response_ ### 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
