- Notifications
You must be signed in to change notification settings - Fork5
Commit144666f
committed
Build column mapping for grouping sets in all required cases.
The previous coding frequently failed to fail because for one it'sunusual to have rollup clauses with one column, and for anothersometimes the wrong mapping didn't cause obvious problems.Author: Jeevan ChalkeReviewed-By: Andrew GierthDiscussion: CAM2+6=W=9=hQOipH0HAPbkun3Z3TFWij_EiHue0_6UX=oR=1kw@mail.gmail.comBackpatch: 9.5, where grouping sets were introduced1 parentcf80dde commit144666f
File tree
3 files changed
+29
-7
lines changed- src
- backend/optimizer/plan
- test/regress
- expected
- sql
3 files changed
+29
-7
lines changedLines changed: 2 additions & 7 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2401 | 2401 |
| |
2402 | 2402 |
| |
2403 | 2403 |
| |
2404 |
| - | |
2405 |
| - | |
2406 |
| - | |
2407 |
| - | |
2408 |
| - | |
2409 |
| - | |
2410 |
| - | |
| 2404 | + | |
| 2405 | + | |
2411 | 2406 |
| |
2412 | 2407 |
| |
2413 | 2408 |
| |
|
Lines changed: 23 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
587 | 587 |
| |
588 | 588 |
| |
589 | 589 |
| |
| 590 | + | |
| 591 | + | |
| 592 | + | |
| 593 | + | |
| 594 | + | |
| 595 | + | |
| 596 | + | |
| 597 | + | |
| 598 | + | |
| 599 | + | |
| 600 | + | |
| 601 | + | |
| 602 | + | |
| 603 | + | |
| 604 | + | |
| 605 | + | |
| 606 | + | |
| 607 | + | |
| 608 | + | |
| 609 | + | |
| 610 | + | |
| 611 | + | |
| 612 | + | |
590 | 613 |
|
Lines changed: 4 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
162 | 162 |
| |
163 | 163 |
| |
164 | 164 |
| |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
165 | 169 |
|
0 commit comments
Comments
(0)