[MCOL-5119] Constant folding in WHERE/HAVING expressions Created: 2022-06-05  Updated: 2023-12-15

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

Type: New Feature Priority: Major
Reporter: Roman Assignee: Max Mether
Resolution: Unresolved Votes: 0
Labels: None

Epic Link: Columnstore - Technical debts in Optimizer / Rewriter

 Description   

There are certain expressions in WHERE/HAVING that can be calculated right away, e.g. c1 > (5 + 3) can be replaced with c1 > 8 saving some CPU not running addition in a query pipeline.


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