Details
-
Bug
-
Status: Closed (View Workflow)
-
Minor
-
Resolution: Fixed
-
1.1.2
-
None
Description
Documentation on ALTER TABLE syntax includes FIRST and AFTER:
https://mariadb.com/kb/en/library/columnstore-alter-table
However, my test queries:
ALTER TABLE test.t1 ADD COLUMN testSmallInt SMALLINT FIRST;
|
ALTER TABLE test.t1 ADD COLUMN testInt INT AFTER a;
|
fail with
Error Code: 1178. 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.
|
It appears that MariaDB ColumnStore is unable to add a column anywhere other than the end of the table (i.e. same limitation as InfiniDB has).
Could the documentation be updated accordingly?