[MCOL-4741] in/like/equal(=) returns different result Created: 2021-06-02 Updated: 2021-09-03 Resolved: 2021-07-06 |
|
| Status: | Closed |
| Project: | MariaDB ColumnStore |
| Component/s: | None |
| Affects Version/s: | 5.5.2 |
| Fix Version/s: | 6.1.1 |
| Type: | Bug | Priority: | Blocker |
| Reporter: | Allen Lee (Inactive) | Assignee: | Daniel Lee (Inactive) |
| Resolution: | Fixed | Votes: | 1 |
| Labels: | None | ||
| Attachments: |
|
| Sprint: | 2021-8, 2021-9 |
| Description |
|
User reported that they are getting the different result when using in or like. Here is the example and table definition.
When checking length of that
User created the same table and imported data once again, but it did happen sometime after.
|
| Comments |
| Comment by Sergey Zefirov [ 2021-06-18 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
I've run this on 10.6. The reproduction script is this:
The results of running "mysql <repro.sql" are as follows:
As you can see, after second cpimport run, the number of rows returned is smaller than after first run. We have lost some records. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Sergey Zefirov [ 2021-06-22 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Relevant PR: https://github.com/mariadb-corporation/mariadb-columnstore-engine/pull/1999 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Sergey Zefirov [ 2021-06-22 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
I've made a PR and asked tntnatbry to review it/ Thus, formally, this ticket goes to review. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Gagan Goel (Inactive) [ 2021-07-05 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
sergey.zefirov Can you please share with Daniel the data and queries to reproduce the original customer issue and confirm the fix works? | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Daniel Lee (Inactive) [ 2021-07-06 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Build verified: 6.1.1 (#2727) |