[MCOL-5543] Aggregated count on left join result is incorrect after switching join order Created: 2023-07-27 Updated: 2023-09-22 Resolved: 2023-08-02 |
|
| Status: | Closed |
| Project: | MariaDB ColumnStore |
| Component/s: | ExeMgr |
| Affects Version/s: | 23.02 |
| Fix Version/s: | 23.10.0 |
| Type: | Bug | Priority: | Major |
| Reporter: | Richard Stracke | Assignee: | Unassigned |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | rm_invalid_data | ||
| Attachments: |
|
||||||||
| Issue Links: |
|
||||||||
| Description |
|
In some cases the count throw wrong results , when join order was switched
Maybe it is caused from wrong extent elimination according trace.
Setup with data to reproduce is attached. |
| Comments |
| Comment by alexey vorovich (Inactive) [ 2023-07-27 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||
|
dleeyh could u please confirm that the issue still happens in latest develop after the fixes done by denis0x0D | ||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Daniel Lee (Inactive) [ 2023-07-27 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||
|
Build tested: develop branch (with fix for engine: 1a49a09af3f215dc9b177ac50cfdd234476c7d04 Reproduced the issue in 23.02.4. The issue no longer exist in the latest of the develop branch. The counts are now matching that from the InnoDB engine. Release 23.02.4
develop branch (with fix for
| ||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Daniel Lee (Inactive) [ 2023-08-02 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||
|
Closing this ticket per my last comment. |