Skip to content

feat: improve common subexpression elimination#19457

Closed
SkyFan2002 wants to merge 11 commits into
databendlabs:mainfrom
SkyFan2002:subexpression_3
Closed

feat: improve common subexpression elimination#19457
SkyFan2002 wants to merge 11 commits into
databendlabs:mainfrom
SkyFan2002:subexpression_3

Conversation

@SkyFan2002
Copy link
Copy Markdown
Member

@SkyFan2002 SkyFan2002 commented Feb 13, 2026

I hereby agree to the terms of the CLA available at: https://docs.databend.com/dev/policies/cla/

Summary

  1. Support more operators (Aggregate, Join, Filter).
  2. Improve the implementation of filter pushdown to Materialized CTEs.

Tests

  • Unit Test
  • Logic Test
  • Benchmark Test
  • No Test - Explain why

Type of change

  • Bug Fix (non-breaking change which fixes an issue)
  • New Feature (non-breaking change which adds functionality)
  • Breaking Change (fix or feature that could cause existing functionality not to work as expected)
  • Documentation Update
  • Refactoring
  • Performance Improvement
  • Other (please describe):

This change is Reviewable

@github-actions github-actions Bot added the pr-feature this PR introduces a new feature to the codebase label Feb 13, 2026
# Conflicts:
#	src/query/sql/src/planner/optimizer/optimizers/cse/analyze.rs
@SkyFan2002
Copy link
Copy Markdown
Member Author

addressed in #19769

@SkyFan2002 SkyFan2002 closed this May 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr-feature this PR introduces a new feature to the codebase

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants