[MCOL-5463] Columnstore throws error when using GROUP BY on DB-Views where field name is identical in two different tables Created: 2023-03-28 Updated: 2023-12-15 Resolved: 2023-12-15 |
|
| Status: | Closed |
| Project: | MariaDB ColumnStore |
| Component/s: | ExeMgr |
| Affects Version/s: | None |
| Fix Version/s: | 23.10.1 |
| Type: | Bug | Priority: | Critical |
| Reporter: | andreas eschbacher | Assignee: | Allen Herrera |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | triage, views | ||
| Environment: |
CS 5.6.8 MariaDB 10.5.18 RHEL 8.5 |
||
| Sprint: | 2023-11 |
| Description |
|
– COLUMNSTORE throws error: create table t2 insert into t1 values (1, 'bla'); create view view_on_t1 as select id, someStr from t1; – ERROR !!! – working on tables directly it works however: – INNODB create table t2_innodb insert into t1_innodb values (1, 'bla'); create view view_on_t1_innodb as select id, someStr from t1_innodb; – works: |
| Comments |
| Comment by Allen Herrera [ 2023-06-12 ] | ||||||||||||||||||||||
|
Use alias' or dont use views
| ||||||||||||||||||||||
| Comment by Maria M Pflaum [ 2023-06-13 ] | ||||||||||||||||||||||
|
Customer replies that this is not a solution for them because the select will be generated by a third party software. | ||||||||||||||||||||||
| Comment by Kirill Perov [ 2023-12-02 ] | ||||||||||||||||||||||
|
MCS query is not failing. testing finished ok. |