-
Notifications
You must be signed in to change notification settings - Fork 3.7k
(#3395)calculate 'case when expr' when possible #3396
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
morningman
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.
Could you add a ut for this case? In QueryPlanTest.java
|
@morningman ut added |
fe/src/main/java/org/apache/doris/rewrite/FoldConstantsRule.java
Outdated
Show resolved
Hide resolved
|
major change Todo |
2 add more ut 3 fix logic bug
2 clone a new expr when return CaseExpr which has been changed
91302de to
4d3c681
Compare
kangkaisen
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.
+1, LGTM
SSD cool downtime shouldn't be fix time in UT;
kangkaisen
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.
+1, LGTM
|
resolve conflict |
morningman
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.
LGTM
(#3395)
calculate 'case when expr' when possible