[MCOL-1483] Group by fails on view with Columnstore engine Created: 2018-06-19  Updated: 2023-10-25  Resolved: 2023-10-25

Status: Closed
Project: MariaDB ColumnStore
Component/s: PrimProc
Affects Version/s: 1.1.3-2, 1.1.7
Fix Version/s: Icebox

Type: Bug Priority: Minor
Reporter: Bryn Edwards Assignee: Roman
Resolution: Won't Fix Votes: 0
Labels: None

Attachments: File group_date.sql    

 Description   

Hi,

The attached SQL shows a select statement that only produces the following error when executed on a view of a table using the columnstore engine:

ERROR 1815 (HY000) at line 23: Internal error: IDB-2021: 'dt' is not in GROUP BY clause. All non-aggregate columns in the SELECT and ORDER BY clause must be in
cluded in the GROUP BY clause.

I came across this while using Metabase as this is how it produces aggregate queries.


Generated at Thu Feb 08 02:29:06 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.