Commit 8b03e5e
Use Tokio's task budget consistently, better APIs to support task cancellation (#16398)
* Use Tokio's task budget consistently
* Rework `ensure_coop` to base itself on evaluation and scheduling properties
* Iterating on documentation
* Improve robustness of cooperative yielding test cases
* Reorganize tests by operator a bit better
* Coop documentation
* More coop documentation
* Avoid Box in temporary CooperativeStream::poll_next implementation
* Adapt interleave test cases for range generator
* Add temporary `tokio_coop` feature to unblock merging
* Extract magic number to constant
* Fix documentation error
* Push scheduling type down from DataSourceExec to DataSource
* Use custom configuration instead of feature to avoid exposing internal cooperation variants
* Use dedicated enum for yield results
* Documentation improvements from review
* More documentation
* Change default coop strategy to 'tokio_fallback'
* Documentation refinement
* Re-enable interleave test cases
* fix logical merge conflict
---------
Co-authored-by: Andrew Lamb <[email protected]>1 parent 7914624 commit 8b03e5e
File tree
35 files changed
+1580
-1528
lines changed- datafusion
- common/src
- core/tests
- execution
- user_defined
- datasource/src
- physical-optimizer/src
- physical-plan
- src
- repartition
- sorts
- spill
- proto
- proto
- src
- generated
- physical_plan
- sqllogictest/test_files
- docs/source/user-guide
35 files changed
+1580
-1528
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
218 | 218 | | |
219 | 219 | | |
220 | 220 | | |
221 | | - | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
222 | 226 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
796 | 796 | | |
797 | 797 | | |
798 | 798 | | |
799 | | - | |
800 | | - | |
801 | | - | |
802 | | - | |
803 | | - | |
804 | | - | |
805 | | - | |
806 | | - | |
807 | | - | |
808 | 799 | | |
809 | 800 | | |
810 | 801 | | |
| |||
0 commit comments