Commit 2efb5ec
feat(tesseract): Support order by measure not included in the select list (#10218)
* tesseract standalone order by
* update make_order_by() to include members without positions
* fix make_order_by() for measures
---------
Co-authored-by: Aleksandr Romanenko <alex.romanenko@cube.dev>1 parent 2d6e923 commit 2efb5ec
File tree
2 files changed
+45
-2
lines changed- rust/cubesqlplanner/cubesqlplanner/src
- physical_plan_builder
- planner
2 files changed
+45
-2
lines changedLines changed: 15 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
232 | 232 | | |
233 | 233 | | |
234 | 234 | | |
235 | | - | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
236 | 241 | | |
237 | 242 | | |
238 | | - | |
| 243 | + | |
239 | 244 | | |
240 | 245 | | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
241 | 254 | | |
242 | 255 | | |
243 | 256 | | |
| |||
Lines changed: 30 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
523 | 523 | | |
524 | 524 | | |
525 | 525 | | |
| 526 | + | |
526 | 527 | | |
527 | 528 | | |
528 | 529 | | |
| |||
541 | 542 | | |
542 | 543 | | |
543 | 544 | | |
| 545 | + | |
544 | 546 | | |
545 | 547 | | |
546 | 548 | | |
| |||
553 | 555 | | |
554 | 556 | | |
555 | 557 | | |
| 558 | + | |
| 559 | + | |
| 560 | + | |
| 561 | + | |
| 562 | + | |
| 563 | + | |
| 564 | + | |
| 565 | + | |
| 566 | + | |
| 567 | + | |
| 568 | + | |
| 569 | + | |
| 570 | + | |
556 | 571 | | |
557 | 572 | | |
558 | 573 | | |
559 | 574 | | |
560 | 575 | | |
| 576 | + | |
561 | 577 | | |
562 | 578 | | |
563 | 579 | | |
| |||
567 | 583 | | |
568 | 584 | | |
569 | 585 | | |
| 586 | + | |
| 587 | + | |
| 588 | + | |
570 | 589 | | |
571 | 590 | | |
572 | 591 | | |
| |||
586 | 605 | | |
587 | 606 | | |
588 | 607 | | |
| 608 | + | |
589 | 609 | | |
590 | 610 | | |
591 | 611 | | |
| |||
936 | 956 | | |
937 | 957 | | |
938 | 958 | | |
| 959 | + | |
| 960 | + | |
| 961 | + | |
| 962 | + | |
| 963 | + | |
| 964 | + | |
| 965 | + | |
| 966 | + | |
| 967 | + | |
| 968 | + | |
939 | 969 | | |
940 | 970 | | |
941 | 971 | | |
| |||
0 commit comments