[MDEV-21318] Wrong results with window functions and implicit grouping Created: 2019-12-13 Updated: 2020-06-19 Resolved: 2019-12-26 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Optimizer - Window functions |
| Affects Version/s: | 10.2, 10.3, 10.4, 10.5 |
| Fix Version/s: | 10.2.31, 10.3.22, 10.4.12, 10.5.1 |
| Type: | Bug | Priority: | Major |
| Reporter: | Varun Gupta (Inactive) | Assignee: | Varun Gupta (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||||||||||
| Description |
|
1 row in set (0.00 sec) The above query return NULL for the window function row_number, which is incorrect. |
| Comments |
| Comment by Varun Gupta (Inactive) [ 2019-12-17 ] |
|
Patch |
| Comment by Varun Gupta (Inactive) [ 2019-12-17 ] |
|
This fix will also fix |
| Comment by Sergei Petrunia [ 2019-12-19 ] |
|
A related bug which introduced the approach to fix this was: |