-
Notifications
You must be signed in to change notification settings - Fork 209
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
Optimizer: eliminate common sub-expressions #658
Comments
That's cool! We can see if we can do this optimization with optimizer rule 🤣 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In the present, the optimizer doesn't realize any information abount common expression.
This causes the
Expression Evaluator
to evaluate expressions repeatedly for every input tuple.For Example:
Maybe we should rewrite the plan to:
The text was updated successfully, but these errors were encountered: