[MCOL-4064] Make JOIN collation aware Created: 2020-06-15 Updated: 2021-05-17 Resolved: 2020-12-10 |
|
| Status: | Closed |
| Project: | MariaDB ColumnStore |
| Component/s: | PrimProc |
| Affects Version/s: | 1.5.1 |
| Fix Version/s: | 5.5.1 |
| Type: | Bug | Priority: | Critical |
| Reporter: | David Hall (Inactive) | Assignee: | Daniel Lee (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | datatype | ||
| Issue Links: |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Epic Link: | ColumnStore Compatibility Improvements | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Sprint: | 2020-8 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Description |
|
Columnstore performs joins on char types using a binary compare. Server uses case-insensitive compare. We need to be compatible. |
| Comments |
| Comment by David Hall (Inactive) [ 2020-06-19 ] |
|
I've linked this to |
| Comment by Daniel Lee (Inactive) [ 2020-12-03 ] |
|
Build tested: 5.5.1 (Drone 1251) Issues found. If we want to fix these issues for 5.5.1, I will test again when the fix is available. If we defer additional fix for future release, then please create a MCOL to track them. Thx Scenarios test for both case sensitive and insensitive tables For case insensitive tables The interesting thing is right after creating the tables, test #3 passed. But after #2 failed, #3 also would fail. Case insensitive table MariaDB [mytest]> create table t1 (c1 char(5), c2 char(5)) engine=columnstore collate=latin1_general_ci; MariaDB [mytest]> insert into t1 values ('hello','Hello'); MariaDB [mytest]> create table t4 (c1 char(5), c2 char(5)) engine=columnstore collate=latin1_general_ci; MariaDB [mytest]> insert into t4 values ('hello','Hello'); 2. 3. 4. |
| Comment by Daniel Lee (Inactive) [ 2020-12-10 ] |
|
Build tested: 5.5.1 (Drone 1313) The issue has been fixed |