Commit d35b0b0
Manus AI
Fix ONLY_FULL_GROUP_BY violation with computed columns
- Removed buildComputedColumns() call in grouped mode
- Computed columns in grouped queries now only appear when used in aggregates
- Prevents non-aggregated computed columns from violating GROUP BY rules
- Computed columns are still properly resolved when used in aggregate expressions
- Fixes: Expression not in GROUP BY clause error with computed columns1 parent b3b7362 commit d35b0b0
1 file changed
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
633 | 633 | | |
634 | 634 | | |
635 | 635 | | |
636 | | - | |
637 | | - | |
| 636 | + | |
| 637 | + | |
| 638 | + | |
638 | 639 | | |
639 | 640 | | |
640 | 641 | | |
| |||
0 commit comments