Commit 22fec44
feat(cudf): Add round robin batch support for Local partition in Velox-cudf (facebookincubator#14664)
Summary:
Round Robin batch partitioning can be supported with CPU LocalPartition operator itself. This PR adds changes to use LocalPartition only for Hash, and use LocalPartition for RoundRobin. Unit tests are added to test RoundRobin under difference configurations.
Unit tests
- roundRobinMultipleBatches
- roundRobinEmptyInput
- roundRobinMultipleSources
- roundRobinWithAggregation
- roundRobinWithTableScan
- roundRobinAllCombinations
This PR also has related fixes to CudfPlanBuilder after commit facebookincubator@31200dd which affects 3 function interfaces.
Pull Request resolved: facebookincubator#14664
Reviewed By: Yuhta
Differential Revision: D83667533
Pulled By: kgpai
fbshipit-source-id: c8e555f81ee3a8fcd69d5f47c34d140238f894d31 parent 68ce938 commit 22fec44
File tree
4 files changed
+355
-4
lines changed- velox/experimental/cudf
- exec
- tests
4 files changed
+355
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
23 | 24 | | |
24 | 25 | | |
25 | 26 | | |
26 | 27 | | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
27 | 37 | | |
28 | 38 | | |
29 | 39 | | |
| |||
55 | 65 | | |
56 | 66 | | |
57 | 67 | | |
| 68 | + | |
| 69 | + | |
58 | 70 | | |
59 | 71 | | |
60 | | - | |
| 72 | + | |
61 | 73 | | |
62 | 74 | | |
63 | 75 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
54 | 57 | | |
55 | 58 | | |
56 | 59 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
206 | 206 | | |
207 | 207 | | |
208 | 208 | | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
209 | 221 | | |
210 | 222 | | |
211 | 223 | | |
| |||
273 | 285 | | |
274 | 286 | | |
275 | 287 | | |
276 | | - | |
277 | | - | |
278 | | - | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
279 | 297 | | |
280 | 298 | | |
281 | 299 | | |
| |||
319 | 337 | | |
320 | 338 | | |
321 | 339 | | |
| 340 | + | |
322 | 341 | | |
323 | 342 | | |
324 | 343 | | |
| |||
0 commit comments