[MCOL-1372] Support lower_case_table_names=0 for cross engine joins Created: 2018-04-28 Updated: 2023-03-07 Resolved: 2020-11-09 |
|
| Status: | Closed |
| Project: | MariaDB ColumnStore |
| Component/s: | MDB Plugin |
| Affects Version/s: | None |
| Fix Version/s: | 5.5.1 |
| Type: | New Feature | Priority: | Minor |
| Reporter: | Mukesh Prasad | Assignee: | Todd Stoffel (Inactive) |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Environment: |
Production |
||
| Issue Links: |
|
||||||||
| Epic Link: | ColumnStore Compatibility Improvements | ||||||||
| Description |
|
UPDATE from LinuxJedi: The problem is lower_case_table_names=0 which allows for mixed case names. This causes problems for ColumnStore as everything is parsed as lower case so cross engine joins request a lower case table name instead of mixed case. Let me give you some input. we ran a query having three tables with left join, where one table is columnstore engine while others in innodb. Table_Schema: 1. SMSMemberGrowthAgg having records ~ 542878 which in future will increased
2. List having records ~313 records
3. Group having records ~ 127
--------------------------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------------------------------
|
| Comments |
| Comment by Andrew Hutchings (Inactive) [ 2018-04-28 ] | |||
|
Can you please let us know which version of ColumnStore you are using? The cross engine library is very different between 1.0 and 1.1. | |||
| Comment by Mukesh Prasad [ 2018-04-29 ] | |||
|
Hi Andrew, Currently we are using version Columnstore 1.1.3-1 and mariadb version 10.2.13-MariaDB-log. We have recently upgrade columstore from 1.1.2-1 to 1.1.3-1 Thanks | |||
| Comment by Mukesh Prasad [ 2018-04-30 ] | |||
|
adding some more points. Right now server setup with lower_case_file_system=OFF Tables are | |||
| Comment by Mukesh Prasad [ 2018-05-01 ] | |||
|
One more findings. When we run the given query with Innodb tables with small case of table name then it runs fine other wise give error. Is it a limitation of Columnstore engine join with innodb small case table name only or Please help us as we need join columnstore table with innodb table with table name case sensitive only. | |||
| Comment by Andrew Hutchings (Inactive) [ 2018-05-01 ] | |||
|
That would do it (although I would expect the error to be a little different). ColumnStore does not support lower_case_table_names=0. This would be a large architecture change to support it. Having said that this will likely be possible as part of the server convergence project in a couple of major releases time. For now I will make this a feature request to support lower_case_table_names. | |||
| Comment by Andrew Hutchings (Inactive) [ 2018-05-01 ] | |||
|
Simplified test case for confirmation: 1. Edit my.cnf and set lower_case_table_names=0
4.
| |||
| Comment by David Hall (Inactive) [ 2020-11-09 ] | |||
|
This problem goes away since Columnstore now supports case in table names from 5.5+ |