[MCOL-4558] Need to flatten (merge) queries that can be flattened (merged) Created: 2021-02-24  Updated: 2023-12-15

Status: Open
Project: MariaDB ColumnStore
Component/s: None
Affects Version/s: None
Fix Version/s: 23.10

Type: Task Priority: Major
Reporter: Gregory Dorman (Inactive) Assignee: Roman
Resolution: Unresolved Votes: 0
Labels: None

Epic Link: Columnstore - Technical debts in Optimizer / Rewriter

 Description   

we need to rewrite select count(col) from (select * from table); It has to become select count(col) from table.

Today, it is backwards. PMs send rows to one exemgr to do aggregation. Orders of magnitude worse.


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