[MCOL-1374] Support utf8mb4 Created: 2018-04-30  Updated: 2021-04-08  Resolved: 2020-06-19

Status: Closed
Project: MariaDB ColumnStore
Component/s: PrimProc
Affects Version/s: None
Fix Version/s: 1.5.2

Type: New Feature Priority: Major
Reporter: Dipti Joshi (Inactive) Assignee: David Hall (Inactive)
Resolution: Duplicate Votes: 4
Labels: None

Issue Links:
Blocks
is blocked by MCOL-4672 MariaDB 10.5.8 Columnstore utf8mb4 su... Closed
is blocked by MDEV-21504 Collation: Create shared library for ... Closed
Relates
relates to MCOL-491 Change the data range of Varchar and ... Closed
Epic Link: ColumnStore Compatibility Improvements
Sprint: 2020-7

 Description   

Add support for utf8mb4



 Comments   
Comment by Valerii Kravchuk [ 2018-08-16 ]

Make sure utf8mb4 is supported in all contexts, like cpimport, INSERT ... SELECT, multiple table updates etc.

While we are on the topic, it would be great to have ALTER TABLE ... DEFAULT CHARSET = <new> also supported, same as changing CHARSET for individual columns.

Comment by Geoff Montee (Inactive) [ 2018-11-15 ]

Are these character sets not supported? ColumnStore doesn't complain if you try to use them:

MariaDB [db1]> CREATE TABLE utf8_tab (
    -> `id` int(11) DEFAULT NULL,
    -> `str` varchar(50) DEFAULT NULL
    -> ) ENGINE=Columnstore DEFAULT CHARSET=utf8;
Query OK, 0 rows affected (0.16 sec)
 
MariaDB [db1]> CREATE TABLE utf8mb4_tab (
    -> `id` int(11) DEFAULT NULL,
    -> `str` varchar(50) DEFAULT NULL
    -> ) ENGINE=Columnstore DEFAULT CHARSET=utf8mb4;
Query OK, 0 rows affected (0.16 sec)
 
MariaDB [db1]> SELECT @@global.version_comment;
+--------------------------+
| @@global.version_comment |
+--------------------------+
| Columnstore 1.1.6-1      |
+--------------------------+
1 row in set (0.00 sec)

Comment by Geoff Montee (Inactive) [ 2018-11-15 ]

Also, if these character sets are not supported, then why does the documentation say:

MariaDB Columnstore has the ability to support UTF-8 character sets.

https://mariadb.com/kb/en/library/mariadb-columnstore-system-usage/#configuring_to_use_utf-8_character_sets

Comment by Geoff Montee (Inactive) [ 2019-06-21 ]

toddstoffel and/or LinuxJedi,

Can you please clarify which specific features do not yet support utf8/utf8mb4? These character sets seem to work in a lot of different scenarios. And as I mentioned above, the ColumnStore documentation even has a section titled "Configuring to use UTF-8 Character sets".

Comment by David Hall (Inactive) [ 2020-06-19 ]

Duplicated by the work done for MCOL-3536

Generated at Thu Feb 08 02:28:16 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.