Commit 072098e
Document guidelines for physical operator yielding (#15030)
* Document guidelines for physical operator yielding
To start a policy of the behavior physical operator streams should have
and drive improvements in this area to allow for timely cancellation.
Connects to #14036 and related to pull requests such as #14028.
* Remove discussion of tokio coop
* Move rationale up
* TODO ADD LINK
* Say block the CPU rather than pin the CPU
* Add a caveat to use the right tool for the situation
* Improve documentation of yield guidelines
Co-authored-by: Mehmet Ozan Kabak <ozankabak@gmail.com>
* Fix newlines and whitespace in comment
* Add a link to the cancellation benchmark documented in the README
* Fix newlines in benchmarks README
---------
Co-authored-by: Mehmet Ozan Kabak <ozankabak@gmail.com>1 parent 6028474 commit 072098e
File tree
2 files changed
+21
-1
lines changed- benchmarks
- datafusion/physical-plan/src
2 files changed
+21
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
333 | 333 | | |
334 | 334 | | |
335 | 335 | | |
336 | | - | |
| 336 | + | |
| 337 | + | |
337 | 338 | | |
338 | 339 | | |
339 | 340 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
260 | 260 | | |
261 | 261 | | |
262 | 262 | | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
263 | 279 | | |
264 | 280 | | |
265 | 281 | | |
266 | 282 | | |
| 283 | + | |
267 | 284 | | |
268 | 285 | | |
269 | 286 | | |
| 287 | + | |
| 288 | + | |
270 | 289 | | |
271 | 290 | | |
272 | 291 | | |
| |||
0 commit comments