[MDEV-11697] Lead Window Function Returns Incorrect Results Created: 2016-12-31 Updated: 2017-02-18 Resolved: 2017-02-15 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Optimizer - Window functions |
| Affects Version/s: | 10.2.3 |
| Fix Version/s: | 10.2.4 |
| Type: | Bug | Priority: | Major |
| Reporter: | Shawn Weeks | Assignee: | Vicențiu Ciorbaru |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | 10.2-rc | ||
| Environment: |
Windows 10 Pro 1607 x64, 128GB RAM, i7 6800k MariaDB 10.2.3 Beta |
||
| Attachments: |
|
| Description |
|
Lead Function is returning incorrect results for larger test table. Logs and example are attached. Expected results are as follows.
|
| Comments |
| Comment by Shawn Weeks [ 2016-12-31 ] |
|
Thank you I couldn't get the formatting to work. |
| Comment by Elena Stepanova [ 2017-01-03 ] |
|
Thanks for the report and test case. |
| Comment by Vicențiu Ciorbaru [ 2017-02-10 ] |
|
Sergey, please check that this reproduces again as it seems to be a big table issue. |
| Comment by Vicențiu Ciorbaru [ 2017-02-14 ] |
|
This is fixed by the fix for |
| Comment by Vicențiu Ciorbaru [ 2017-02-15 ] |
|
Test case added for the bug to catch regressions. |
| Comment by Shawn Weeks [ 2017-02-18 ] |
|
Checked it in the most recent 10.2.5 build it looks fine. Thanks |