[MCOL-4403] Trailing spaces not behaving as InnoDB Created: 2020-11-19 Updated: 2023-09-22 Resolved: 2023-04-25 |
|
| Status: | Closed |
| Project: | MariaDB ColumnStore |
| Component/s: | ExeMgr, PrimProc |
| Affects Version/s: | 5.4.3 |
| Fix Version/s: | 23.10.0 |
| Type: | Bug | Priority: | Critical |
| Reporter: | David Hall (Inactive) | Assignee: | Sergey Zefirov |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | rm_invalid_data | ||
| Issue Links: |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Epic Link: | ColumnStore Compatibility Improvements | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Sprint: | 2021-1, 2021-2, 2021-3, 2021-4, 2021-5, 2021-6 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Description |
|
Trailing spaces are not comparing as InnoDB. The rules have changed again. |
| Comments |
| Comment by Roman [ 2020-12-08 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
As we found out the issue has been partially solved in the upcoming ES release so that all queries returns an expected number of records. However there is a difference in behavior b/w MCS and InnoDB. InnoDB returns empty sring in testval4 column for the 3d record whilst MCS returns NULL. This looks like a different issue not connected with wrong filtering.
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Alexander Barkov [ 2021-02-19 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
A test script:
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Alexander Barkov [ 2021-02-20 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Test results for VARCHAR(2)VARCHAR(2) NULL
Observations:
VARCHAR(2) NOT NULL
Observations:
Observations:
Obvervations:
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Alexander Barkov [ 2021-02-20 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Test results for CHAR(2)CHAR(2) NULL
Observations:
Observations:
Observations:
CHAR(2) NOT NULL
Observations:
Obvervations:
Observations:
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Alexander Barkov [ 2021-02-20 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Summary of the problems foundVARCHAR(2) NULL
VARCHAR(2) NOT NULL
CHAR(2) NULL
CHAR(2) NOT NULL
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by alexey vorovich (Inactive) [ 2022-11-30 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
toddstoffel far from trivial... lets delay .. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Daniel Lee (Inactive) [ 2023-04-25 ] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Build verified: |