Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(planner): minor refactor heuristic optimizer #14021

Merged
merged 2 commits into from
Dec 14, 2023

Conversation

leiysky
Copy link
Contributor

@leiysky leiysky commented Dec 14, 2023

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

Summary

Refactor heuristic optimizer. Lifting the pre_optimize to optimize_query function, so we can organize the rewrite rules in a more fine-grained way. It's possible to run some rules first, and run other rules after the previous pass is finished.


This change is Reviewable

@leiysky leiysky requested a review from andylokandy December 14, 2023 09:32
@github-actions github-actions bot added the pr-chore this PR only has small changes that no need to record, like coding styles. label Dec 14, 2023
@leiysky leiysky requested a review from xudong963 December 14, 2023 09:32
@leiysky leiysky enabled auto-merge December 14, 2023 09:44
@leiysky leiysky added this pull request to the merge queue Dec 14, 2023
@BohuTANG BohuTANG removed this pull request from the merge queue due to a manual request Dec 14, 2023
@BohuTANG BohuTANG merged commit 2ac39cb into databendlabs:main Dec 14, 2023
68 checks passed
@leiysky leiysky deleted the refactor-optimizer branch December 14, 2023 11:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr-chore this PR only has small changes that no need to record, like coding styles.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants