Bug #117261 | Creation of multicolumn indexes might lead to rows not being fetched during GROUP BY | ||
---|---|---|---|
Submitted: | 22 Jan 8:37 | Modified: | 22 Jan 9:06 |
Reporter: | Emily Ong | Email Updates: | |
Status: | Verified | Impact on me: | |
Category: | MySQL Server: Optimizer | Severity: | S3 (Non-critical) |
Version: | 8.0, 8.0.40, 8.4.3 | OS: | Ubuntu |
Assigned to: | CPU Architecture: | x86 |
[22 Jan 8:37]
Emily Ong
[22 Jan 9:06]
MySQL Verification Team
Hello Emily Ong, Thank you for the report and test case. regards, Umesh
[24 Jan 7:46]
huahua xu
The `GROUP_INDEX_SKIP_SCAN` operator(`GroupIndexSkipScanIterator`) skip subsequent rows in the same group with NULL in it, if the min/max argument field is NULL. It would be a much anticipated feature that the optimizer merge the condition of min/max argument field into GroupIndexSkipScanIterator.