-
Notifications
You must be signed in to change notification settings - Fork 591
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
feat(optimizer): outer join simplify #2349
Conversation
Codecov Report
@@ Coverage Diff @@
## main #2349 +/- ##
=======================================
Coverage 71.07% 71.08%
=======================================
Files 675 675
Lines 84619 84652 +33
=======================================
+ Hits 60145 60172 +27
- Misses 24474 24480 +6
Flags with carried forward coverage won't be shown. Click here to find out more.
📣 Codecov can now indicate which changes are the most critical in Pull Requests. 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.
rest lgtm
for expr in &predicate.conjunctions { | ||
if let ExprImpl::FunctionCall(func) = expr { | ||
match func.get_expr_type() { | ||
risingwave_pb::expr::expr_node::Type::Equal |
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.
use crate::expr::ExprType
rather than risingwave_pb
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.
Update the rule's rustdoc?
What's changed and what's your intention?
add outer join simplify in the filter-join rule. now it is just a naive implementation for comparison expression, we can give a more general implementation with constant folding in future
Checklist
Refer to a related PR or issue link (optional)