[MCOL-728] default is required for charset clause on columnstore tables Created: 2017-05-25  Updated: 2022-11-05  Resolved: 2022-11-05

Status: Closed
Project: MariaDB ColumnStore
Component/s: MariaDB Server
Affects Version/s: 1.0.9
Fix Version/s: Icebox

Type: Bug Priority: Minor
Reporter: David Thompson (Inactive) Assignee: Unassigned
Resolution: Won't Do Votes: 0
Labels: community

Epic Link: ColumnStore Compatibility Improvements

 Description   

According to standard mariadb syntax: https://mariadb.com/kb/en/mariadb/create-table/#default-character-setcharset 'default' is optional with charset, however it is required if the table is columnstore. This was reported here: https://mariadb.com/kb/en/mariadb/create-table-charset/

The test below shows this and it working for InnodB:

MariaDB [test]> create table t1(c char(10)) engine=columnstore charset=latin1;
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.
MariaDB [test]> create table t1(c char(10)) engine=columnstore default charset=latin1;
Query OK, 0 rows affected (0.47 sec)
MariaDB [test]> create table t2(c char(10)) engine=InnoDB charset=latin1;
Query OK, 0 rows affected (0.02 sec)



 Comments   
Comment by Todd Stoffel (Inactive) [ 2022-11-05 ]

This item is being closed because it was well passed the expiration date with no activity. If you suspect this was done in error please create a new ticket.

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