[MCOL-2125] BEFORE/AFTER keyword to add column in middle of table Created: 2019-01-29 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: | Minor |
| Reporter: | Muhammad Irfan | Assignee: | Todd Stoffel (Inactive) |
| Resolution: | Won't Do | Votes: | 1 |
| Labels: | beginner-friendly | ||
| Issue Links: |
|
||||||||||||
| Description |
|
I noticed we don't have BEFORE/AFTER keyword for columnstore table to add column at specific position. It would be nice if we have this option in columnstore table like in InnoDB engine. MariaDB [abc]> CREATE TABLE innodb_test ( A int, C int) ENGINE=InnoDB; MariaDB [abc]> ALTER TABLE innodb_test ADD COLUMN B INT AFTER A; MariaDB [abc]> show create table innodb_test\G while the same error out in CS engine. ALTER TABLE cs_test ADD COLUMN B INT AFTER A; |
| Comments |
| Comment by Roman [ 2019-03-15 ] |
|
This is cosmetic only change b/c there is no difference in a column position in Columnstore b/c CS is a columnar-oriented engine. |
| 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. |