[MDEV-24409] NTILE example throws: ERROR 1140 (42000): Mixing of GROUP columns (MIN(),MAX(),COUNT(),...) with no GROUP columns is illegal if there is no GROUP BY clause Created: 2020-12-15 Updated: 2020-12-15 Resolved: 2020-12-15 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Optimizer - Window functions |
| Affects Version/s: | 10.5.8 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Major |
| Reporter: | Vassilis Virvilis | Assignee: | Unassigned |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Environment: |
Debian SID (unstable) |
||
| Issue Links: |
|
||||||||
| Description |
|
Hi following the example of NTILE in https://mariadb.com/kb/en/ntile/
I get ERROR 1140 (42000): Mixing of GROUP columns (MIN(),MAX(),COUNT(),...) with no GROUP columns is illegal if there is no GROUP BY clause This is clearly a bug in the documentation or in the mariadb server. |
| Comments |
| Comment by Vassilis Virvilis [ 2020-12-15 ] | |
|
ok sorry for this. I searched a lot before creating this but I failed to find it in time. Looks like a duplicate of I turned off ONLY_FULL_GROUP_BY with
and the example works. Sorry for the trouble. |