Skip to content

fix: Disable CommonSubexprEliminate optimizer#209

Merged
MazterQyou merged 1 commit intocubesql-3-04-2022from
cubesql/disable-common-subexpr-eliminate
Feb 24, 2026
Merged

fix: Disable CommonSubexprEliminate optimizer#209
MazterQyou merged 1 commit intocubesql-3-04-2022from
cubesql/disable-common-subexpr-eliminate

Conversation

@MazterQyou
Copy link
Copy Markdown
Member

This PR disables CommonSubexprEliminate optimizer globally, as this creates an unnecessary projection which breaks under certain conditions, e.g. complex filters with subquery.

Signed-off-by: Alex Qyoun-ae <4062971+MazterQyou@users.noreply.github.com>
@MazterQyou MazterQyou merged commit 03e683e into cubesql-3-04-2022 Feb 24, 2026
19 of 21 checks passed
@MazterQyou MazterQyou deleted the cubesql/disable-common-subexpr-eliminate branch February 24, 2026 17:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant