-
Notifications
You must be signed in to change notification settings - Fork 1.9k
fix: don't duplicate existing filters #409
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
Conversation
alamb
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me . Thank you @e-dard
FYI @jorgecarleitao
|
|
||
| // Optimizing the same plan multiple times should produce the same plan | ||
| // each time. | ||
| assert_optimized_plan_eq(&optimised_plan, expected); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1
|
|
||
| // Optimizing the same plan multiple times should produce the same plan | ||
| // each time. | ||
| assert_optimized_plan_eq(&optimised_plan, expected); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1
a9bfae7 to
ffca3de
Compare
Which issue does this PR close?
Closes #408
What changes are included in this PR?
This PR ensures that filter expressions already present on the table scan part of a logical plan are not re-added if the plan is run through the optimiser again.