Bug #107535 Group by does not use loose scan unless full prefix is given
| Submitted: | 9 Jun 2022 22:56 | Modified: | 3 Aug 2023 19:35 |
|---|---|---|---|
| Reporter: | Manuel Ung | Email Updates: | |
| Status: | Verified | Impact on me: | |
| Category: | MySQL Server: Optimizer | Severity: | S3 (Non-critical) |
| Version: | 8.0.29, 5.7.38 | OS: | Any |
| Assigned to: | CPU Architecture: | Any |
[9 Jun 2022 22:56]
Manuel Ung
[11 Jun 2022 16:02]
MySQL Verification Team
Hello Manuel Ung, Thank you for the report and feedback. regards, Umesh
[3 Aug 2023 19:35]
Manuel Ung
The more complete fix to this, is to reuse the functional dependency tracking code to determine whether a column is already implicitly grouped or not. The main thing it buys us, are functional dependencies derived from unique keys.
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.058 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.