[MCOL-830] CrossEngineSupport can not retrieve multi byte fields normally Created: 2017-07-25 Updated: 2017-08-03 Resolved: 2017-08-03 |
|
| Status: | Closed |
| Project: | MariaDB ColumnStore |
| Component/s: | ExeMgr |
| Affects Version/s: | 1.0.6.1 |
| Fix Version/s: | 1.0.11, 1.1.0 |
| Type: | Bug | Priority: | Major |
| Reporter: | kaifengchen | Assignee: | Daniel Lee (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | community | ||
| Environment: |
CentOS 6.5 |
||
| Sprint: | 2017-15 |
| Description |
|
When the CrossEngineSupport is enabled, we can run the SQL on two tables with different engine type(ColumnStore, MyISAM) but the results is not normal. CREATE TABLE `test_cs` ( CREATE TABLE `test_myisam` ( insert into test.test_cs values(1, 'cs测试'); select * from test.test_cs union select * from test.test_myisam; -----
-----
----- It seems that the data of MyISAM table is not normal. |
| Comments |
| Comment by David Thompson (Inactive) [ 2017-07-26 ] | ||||||
|
yes, it seems there is character corruption of utf8 text across cross engine join. | ||||||
| Comment by Andrew Hutchings (Inactive) [ 2017-07-27 ] | ||||||
|
The cross engine connection is defaulting to latin charset. Fixing it to work with UTF8. | ||||||
| Comment by Andrew Hutchings (Inactive) [ 2017-07-27 ] | ||||||
|
Pull requests for 1.0, 1.1 and regression suites. Should not be merged until 1.0.10 is tagged. For QA: test is in description and regression suite. | ||||||
| Comment by Daniel Lee (Inactive) [ 2017-08-03 ] | ||||||
|
Builds verified: Github source 1.0.10, 1.1.0 1.0.10 commit 12d98d5a4e941c333ba355fa4c269bb217e41768 1.1.0 commit 630b113565a624c5a73438d51f2d3422ff7f2e92 MariaDB [mytest]> CREATE TABLE `test_cs` ( MariaDB [mytest]> CREATE TABLE `test_myisam` ( MariaDB [mytest]> insert into test_cs values(1, 'cs测试'); MariaDB [mytest]> insert into test_myisam values(2, 'myisam测试'); MariaDB [mytest]> select * from test_cs union select * from test_myisam;
-----
----- |