[MCOL-4505] Regression: DISTINCT with sub query gets wrong results Created: 2021-01-19 Updated: 2021-01-25 Resolved: 2021-01-25 |
|
| Status: | Closed |
| Project: | MariaDB ColumnStore |
| Component/s: | ExeMgr |
| Affects Version/s: | 5.5.2 |
| Fix Version/s: | 5.5.2 |
| Type: | Bug | Priority: | Blocker |
| Reporter: | David Hall (Inactive) | Assignee: | Daniel Lee (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Sprint: | 2021-1, 2021-2 | ||||||||
| Description |
|
See regression/mysql/queries/working_tpch1_compareLogOnly/view/mts_view.sql:
However, if you strip off the order by, you get
There should only be two rows returned |
| Comments |
| Comment by David Hall (Inactive) [ 2021-01-19 ] | ||||||||||||||||||||||||
|
This bug is introduced by commit 0181c6f122865e5bf68b14f8faadc4fe34cdcdc3 | ||||||||||||||||||||||||
| Comment by Alexander Barkov [ 2021-01-19 ] | ||||||||||||||||||||||||
|
The problem is also repeatable with the INT data type instead of CHAR(10):
| ||||||||||||||||||||||||
| Comment by Daniel Lee (Inactive) [ 2021-01-25 ] | ||||||||||||||||||||||||
|
Build verified: 5.5.2 (b1552), develop b1546 The fixed also checked into the develop branch |