[MCOL-4197] Columnstore errors while setting CHARSET Created: 2020-07-20  Updated: 2021-01-14

Status: Open
Project: MariaDB ColumnStore
Component/s: None
Affects Version/s: 1.5.2
Fix Version/s: Icebox

Type: Bug Priority: Major
Reporter: Bharath Bokka (Inactive) Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None


 Description   

Build:
1.5.2-1

The following syntaxes throws an error with engine=Columnstore-
table level:
CREATE TABLE t1 (id INT, name VARCHAR(40)) CHARACTER SET utf8 ENGINE=Columnstore;
ERROR 1178 (42000): The storage engine for the table doesn't support The syntax or the data type(s) is not supported by Columnstore. Please check the Columnstore syntax guide for supported syntax or data types.

CREATE TABLE t1 (id INT, name VARCHAR(40)) CHARSET 'utf8' ENGINE=Columnstore;
ERROR 1178 (42000): The storage engine for the table doesn't support The syntax or the data type(s) is not supported by Columnstore. Please check the Columnstore syntax guide for supported syntax or data types.

CREATE TABLE t1 (id INT, name VARCHAR(40)) CHAR SET utf8 ENGINE=Columnstore;
ERROR 1178 (42000): The storage engine for the table doesn't support The syntax or the data type(s) is not supported by Columnstore. Please check the Columnstore syntax guide for supported syntax or data types.

column level:
CREATE TABLE t1 (id INT, name VARCHAR(40) CHARSET 'utf8')ENGINE=Columnstore;
ERROR 1178 (42000): The storage engine for the table doesn't support The syntax or the data type(s) is not supported by Columnstore. Please check the Columnstore syntax guide for supported syntax or data types.

The same syntaxes work fine with engine=Innodb.

These are the syntaxes that work with engine=Columnstore-
table level:
CREATE TABLE t1 (id INT, name VARCHAR(40)) CHARSET utf8 ENGINE=Columnstore;
column level
CREATE TABLE t2 (id INT, name VARCHAR(40)CHARACTER SET utf8) ENGINE=Columnstore;
CREATE TABLE t2 (id INT, name VARCHAR(40)CHARACTER SET 'utf8') ENGINE=Columnstore;
CREATE TABLE t2 (id INT, name VARCHAR(40)CHAR SET utf8) ENGINE=Columnstore;


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