Commit 378c6cc
authored
feat(query): support shuffle sort (#17853)
* reservoir_sampling
Signed-off-by: coldWater <[email protected]>
* Simpler
Signed-off-by: coldWater <[email protected]>
* TransformSortSimple
Signed-off-by: coldWater <[email protected]>
* rename
* fix
* trait Spill
* execute
* move
* update
* bounds
* wait
* remove
* scalar
* exchange
* update
* test
Signed-off-by: coldWater <[email protected]>
* x
Signed-off-by: coldWater <[email protected]>
* route
Signed-off-by: coldWater <[email protected]>
* builder
Signed-off-by: coldWater <[email protected]>
* update
Signed-off-by: coldWater <[email protected]>
* build
Signed-off-by: coldWater <[email protected]>
* rename
Signed-off-by: coldWater <[email protected]>
* fix
Signed-off-by: coldWater <[email protected]>
* fix
Signed-off-by: coldWater <[email protected]>
* fix
Signed-off-by: coldWater <[email protected]>
* fix
Signed-off-by: coldWater <[email protected]>
* fix
Signed-off-by: coldWater <[email protected]>
* update
Signed-off-by: coldWater <[email protected]>
* fix
Signed-off-by: coldWater <[email protected]>
* fix
Signed-off-by: coldWater <[email protected]>
* fix
Signed-off-by: coldWater <[email protected]>
* x
* logical plan
* x
* x
* x
* x
* x
* x
* x
* x
* x
* x
* x
* format
* x
* x
* allow_adjust_parallelism
* InputBoundStream
* BoundedMultiSortMergeProcessor
* build_bounded_merge_sort
* bound_index
* SortBoundEdge
* route
* clean up
* enable
* fix
* fix
* fix
* test
* fix
* fix
* fix
* fix
* fix
* fix
* force_disable_distributed_optimization
* trace and refine
* default_num_merge
---------
Signed-off-by: coldWater <[email protected]>1 parent 73bfbb9 commit 378c6cc
File tree
97 files changed
+4407
-1018
lines changed- .github/workflows
- src
- common/base/src/base
- query
- expression/src
- types
- pipeline
- core/src
- transforms/src/processors/transforms
- sort/rows
- service
- src
- interpreters
- pipelines
- builders
- executor
- processors/transforms
- aggregator
- sort
- transform_merge_sort
- schedulers/fragments
- servers/flight/v1
- exchange
- scatter
- tests/it/sql/planner/optimizer
- data/results/tpcds
- settings/src
- sql/src
- executor
- physical_plans
- planner
- optimizer
- ir/expr
- optimizers
- distributed
- rule/agg_rules
- plans
- tests/sqllogictests/suites
- base/09_fuse_engine
- ee
- 02_ee_aggregating_index
- 09_ee_vector_index
- mode
- cluster
- standalone
- ee
- explain_native
- explain
- query/functions
- stage/formats/parquet
- tpch
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
97 files changed
+4407
-1018
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
219 | 219 | | |
220 | 220 | | |
221 | 221 | | |
222 | | - | |
223 | | - | |
| 222 | + | |
| 223 | + | |
224 | 224 | | |
225 | 225 | | |
226 | 226 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
44 | 54 | | |
45 | 55 | | |
46 | 56 | | |
| |||
61 | 71 | | |
62 | 72 | | |
63 | 73 | | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
64 | 78 | | |
65 | 79 | | |
66 | | - | |
| 80 | + | |
67 | 81 | | |
68 | | - | |
69 | | - | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
70 | 87 | | |
71 | 88 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
332 | 332 | | |
333 | 333 | | |
334 | 334 | | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
335 | 348 | | |
336 | 349 | | |
337 | 350 | | |
338 | 351 | | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
339 | 363 | | |
340 | 364 | | |
341 | 365 | | |
| |||
431 | 455 | | |
432 | 456 | | |
433 | 457 | | |
434 | | - | |
435 | | - | |
436 | | - | |
437 | | - | |
438 | | - | |
439 | 458 | | |
440 | 459 | | |
441 | 460 | | |
| |||
702 | 721 | | |
703 | 722 | | |
704 | 723 | | |
| 724 | + | |
| 725 | + | |
| 726 | + | |
| 727 | + | |
| 728 | + | |
| 729 | + | |
| 730 | + | |
| 731 | + | |
| 732 | + | |
| 733 | + | |
705 | 734 | | |
706 | 735 | | |
707 | 736 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
57 | | - | |
| 57 | + | |
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
53 | | - | |
| 53 | + | |
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
451 | 451 | | |
452 | 452 | | |
453 | 453 | | |
454 | | - | |
| 454 | + | |
455 | 455 | | |
456 | 456 | | |
457 | 457 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
460 | 460 | | |
461 | 461 | | |
462 | 462 | | |
463 | | - | |
| 463 | + | |
| 464 | + | |
| 465 | + | |
| 466 | + | |
| 467 | + | |
| 468 | + | |
| 469 | + | |
| 470 | + | |
| 471 | + | |
| 472 | + | |
| 473 | + | |
| 474 | + | |
| 475 | + | |
| 476 | + | |
| 477 | + | |
464 | 478 | | |
465 | | - | |
| 479 | + | |
466 | 480 | | |
467 | 481 | | |
468 | 482 | | |
469 | 483 | | |
470 | 484 | | |
471 | | - | |
| 485 | + | |
472 | 486 | | |
473 | 487 | | |
474 | 488 | | |
| |||
493 | 507 | | |
494 | 508 | | |
495 | 509 | | |
496 | | - | |
| 510 | + | |
497 | 511 | | |
498 | 512 | | |
499 | 513 | | |
500 | 514 | | |
501 | 515 | | |
502 | 516 | | |
503 | | - | |
| 517 | + | |
| 518 | + | |
504 | 519 | | |
505 | 520 | | |
506 | 521 | | |
| |||
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
21 | 22 | | |
22 | 23 | | |
23 | 24 | | |
24 | 25 | | |
| 26 | + | |
25 | 27 | | |
26 | 28 | | |
27 | 29 | | |
| |||
36 | 38 | | |
37 | 39 | | |
38 | 40 | | |
| 41 | + | |
39 | 42 | | |
40 | 43 | | |
41 | 44 | | |
42 | 45 | | |
| 46 | + | |
43 | 47 | | |
44 | | - | |
| 48 | + | |
45 | 49 | | |
46 | 50 | | |
47 | 51 | | |
| |||
Lines changed: 11 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
61 | 72 | | |
62 | 73 | | |
63 | 74 | | |
| |||
0 commit comments