[MCOL-132] Columnstore does not allow duplicate column aliases (and reports it as duplicate column *name*) Created: 2016-06-12 Updated: 2019-07-10 Resolved: 2019-07-10 |
|
| Status: | Closed |
| Project: | MariaDB ColumnStore |
| Component/s: | ? |
| Affects Version/s: | None |
| Fix Version/s: | Icebox |
| Type: | Bug | Priority: | Major |
| Reporter: | Justin Swanhart (Inactive) | Assignee: | Unassigned |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Epic Link: | ColumnStore Compatibility Improvements |
| Description |
| Comments |
| Comment by Justin Swanhart (Inactive) [ 2016-06-12 ] |
Stockmysql> select t1.c1 t1_c1, t2.c1 t1_c1 from t1 join t2; ColumnStoremysql> select t1.c1 t1_c1, t2.c1 t1_c1 from t1 join t2; Note not only is behavior wrong, but error is about column alias, not column name |
| Comment by Justin Swanhart (Inactive) [ 2016-06-12 ] |
|
This is likely due to the fact that CS tries to materialize all queries into temporary tables, and these don't support duplicate column names. ColumnStore could append _ (or whatever) onto duplicate column aliases, |
| Comment by Justin Swanhart (Inactive) [ 2016-06-12 ] |
|
This breaks Shard-Query installation (works on all other MySQL variants): ; *SETUP FAILED: 1060Duplicate column name '1'* |