[MCOL-4257] Add support for generated columns Created: 2020-08-20 Updated: 2023-12-15 |
|
| Status: | Open |
| Project: | MariaDB ColumnStore |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | Icebox |
| Type: | New Feature | Priority: | Major |
| Reporter: | susil.behera | Assignee: | Max Mether |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Environment: |
Server version: 10.5.6 |
||
| Description |
|
Like InnoDB engine, Columnstore should also support generated columns. CREATE TABLE t1(c1 INT, c2 INT, c3 INT GENERATED ALWAYS AS (c1 + c2) ) ENGINE=Columnstore; CREATE TABLE t1(c1 INT, c2 INT, c3 INT GENERATED ALWAYS AS (c1 + c2) ) ENGINE=Innodb; Query OK, 0 rows affected (0.015 sec) |