-
Notifications
You must be signed in to change notification settings - Fork 21
Remove identity casts from optimizer #329
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
base: master
Are you sure you want to change the base?
Conversation
from optimizer is not necessary in commit msg. |
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.
requireNonNull
Back to you, @zachyee. |
17a5081
to
e5507b9
Compare
I addressed the easy-to-fix comments. I responded with some info on the harder-to-fix comments to figure out what would be best before trying to address them. @maciejgrzybek |
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.
I don't like this name. As it is a plan. Maybe assertPlanDoesNotMatch
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.
It is a expression tree and you check only the root of it.
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.
I think you should use ExpressionVerifier
here and compare expected expression vs actual one.
e5507b9
to
970cf51
Compare
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.
IMO interface here is an over engineering. I would prefer abstract class with below methods implemented.
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.
Why this iface is needed at all?
970cf51
to
ed8b85d
Compare
prestodb#4259
@maciejgrzybek