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.
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.052 sec. using MySQL 8.4.7-u6-cloud
Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the
respective copyright holders.
It is not reviewed in advance
by Oracle and does not necessarily represent the opinion of
Oracle or any other party.