pepijnve opened a new pull request, #16398: URL: https://github.com/apache/datafusion/pull/16398
## Which issue does this PR close? - Closes #16353. ## Rationale for this change `RecordBatchStreamReceiver` supports cooperative scheduling implicitly by using Tokio's task budget. `YieldStream` currently uses a custom mechanism. It would be better to use a single mechanism consistently. ## What changes are included in this PR? - Renamed YieldStream and related types to CooperativeStream - Removed configuration option which is no longer applicable - Enabled cooperative scheduling in spill manager ## Are these changes tested? Covered by `infinite_cancel` test. ## Are there any user-facing changes? Yes, the `datafusion.optimizer.yield_period` configuration option is removed, but at the time of writing this has not been released yet. -- 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 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