Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
1.1.2
-
None
-
2018-05, 2018-06
Description
Doing the following will trigger an error:
CREATE TABLE test.tmp3 |
(t TINYTEXT)
|
ENGINE=COLUMNSTORE;
|
 |
ALTER TABLE test.tmp3 CHANGE COLUMN t t2 TINYTEXT; |
The error is:
ERROR 1815 (HY000): Internal error: CAL0001: Alter table Failed: Changing the datatype of a column is not supported
The cause is typesAreSame() in ddlpackageproc/altertableprocessor.cpp doesn't check for all the TEXT types and fails on the ones it does catch.