Commit 7defc3b
committed
Fix partial aggregation for the case of a degenerate GROUP BY clause.
The plan generated for sorted partial aggregation with "GROUP BY constant"
included a Sort node with no sort keys, which the executor does not like.
Per report from Steve Randall. I'd add a regression test case if I could
think of a compact one, but it doesn't seem worth expending lots of cycles
on.
Report: <CABVd52UAdGXpg_rCk46egpNKYdXOzCjuJ1zG26E2xBe_8bj+Fg@mail.gmail.com>1 parent c32e05b commit 7defc3b
1 file changed
+4
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3714 | 3714 | | |
3715 | 3715 | | |
3716 | 3716 | | |
3717 | | - | |
3718 | | - | |
3719 | | - | |
| 3717 | + | |
| 3718 | + | |
| 3719 | + | |
3720 | 3720 | | |
3721 | | - | |
| 3721 | + | |
3722 | 3722 | | |
3723 | 3723 | | |
3724 | 3724 | | |
| |||
0 commit comments