[MCOL-130] ALTER TABLE does not support changing data type Created: 2016-06-12 Updated: 2023-07-02 Resolved: 2023-07-02 |
|
| Status: | Closed |
| Project: | MariaDB ColumnStore |
| Component/s: | N/A |
| Affects Version/s: | None |
| Fix Version/s: | Icebox |
| Type: | New Feature | Priority: | Major |
| Reporter: | Justin Swanhart (Inactive) | Assignee: | Todd Stoffel (Inactive) |
| Resolution: | Won't Do | Votes: | 2 |
| Labels: | None | ||
| Issue Links: |
|
||||||||||||||||||||||||||||||||||||
| Epic Link: | ColumnStore Compatibility Improvements | ||||||||||||||||||||||||||||||||||||
| Description |
|
mysql> alter table t1 change c1 c2 tinyint; |
| Comments |
| Comment by David Hall (Inactive) [ 2021-02-01 ] |
|
Since |
| Comment by David Hall (Inactive) [ 2021-02-01 ] |
|
To support changing data type, we need to create a facility to copy an entire column to a new one with data conversion on each value. We can leverage the logic of add column to enable this. |
| Comment by Todd Stoffel (Inactive) [ 2023-07-02 ] |
|
The "create date" on this ticket is pre-convergence with MariaDB server. If the issue still exists in a modern version of the engine/plugin please submit a new ticket. |