[MCOL-5249] Reading a Columnstore table via a view using "count" crashes when the view has "order by" in definition Created: 2022-10-05 Updated: 2023-06-12 |
|
| Status: | Confirmed |
| Project: | MariaDB ColumnStore |
| Component/s: | None |
| Affects Version/s: | 23.02.3 |
| Fix Version/s: | Icebox |
| Type: | Bug | Priority: | Major |
| Reporter: | andreas eschbacher | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 1 |
| Labels: | Columnstore | ||
| Environment: |
RHEL 8 , MDB 10.6.9 CS 6.4.3 |
||
| Attachments: |
|
||||||||
| Issue Links: |
|
||||||||
| Description |
|
Trying to use a view on the relational test database of EBI-711 crashes with MariaDB 10.6 (EBI05) , when the "OrderRow" table is a columnstore table: Error Code: 1815. Internal error: MCS-2021: 'OrderID' is not in GROUP BY clause. All non-aggregate columns in the SELECT and ORDER BY clause must be included in the GROUP BY clause. Steps to reproduce (see attached): execute EBI-713_simple_bug_exposal.sql TODO: simplify bug exposal as much as possible ==> DONE. Additional note: on MariaDB 10.3, the bug couldn't be exposed, because when trying to create the orderrow_CS table via a "create table ... select" crashes with the error: create view Columnstore with group by is a workaround but not a valid solution for us. |
| Comments |
| Comment by andreas eschbacher [ 2022-10-05 ] |
|
create view Columnstore with group by is a workaround but not a valid solution for us. |
| Comment by David Hall (Inactive) [ 2022-10-12 ] |
|
I tagged this as a duplicate of MCOL-4234, but it isn't quite. It's probable that the fix is the same, but both ways to the problem must be tested. |