| Bug #92503 | Wrong result from distinct and arithmetic expression using window function | ||
|---|---|---|---|
| Submitted: | 19 Sep 2018 13:48 | Modified: | 11 Feb 2019 16:41 |
| Reporter: | Lukas Eder | Email Updates: | |
| Status: | Closed | Impact on me: | |
| Category: | MySQL Server: DML | Severity: | S3 (Non-critical) |
| Version: | 8.0.12 | OS: | Linux |
| Assigned to: | CPU Architecture: | x86 | |
| Tags: | lag, Window functions | ||
[19 Sep 2018 13:48]
Lukas Eder
[19 Sep 2018 15:15]
MySQL Verification Team
Thank you for the bug report.
[11 Feb 2019 16:41]
Jon Stephens
Documented fix as follows in the MySQL 8.0.16 changelog:
A windowing function employed in an arithmetic expression
produced a wrong result when the query containing it used
DISTINCT.
Closed.
[18 Feb 2021 9:39]
Erlend Dahl
Bug#90992 DISTINCT ignores window functions was marked as a duplicate.
