-
Notifications
You must be signed in to change notification settings - Fork 595
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
fix(optimizer): consider impure expression in predicate push down of Project #9133
fix(optimizer): consider impure expression in predicate push down of Project #9133
Conversation
can we have a kind of mock of udf server to test UDF's plan in planner test? @wangrunji0408 |
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.
license-eye has totally checked 3233 files.
Valid | Invalid | Ignored | Fixed |
---|---|---|---|
1494 | 1 | 1738 | 0 |
Click to see the invalid file list
- src/frontend/src/expr/volatility.rs
Perhaps we can disable the service availability check on create-function in planner test. 🤔 |
Codecov Report
@@ Coverage Diff @@
## main #9133 +/- ##
==========================================
- Coverage 70.78% 70.78% -0.01%
==========================================
Files 1207 1208 +1
Lines 201326 201386 +60
==========================================
+ Hits 142508 142545 +37
- Misses 58818 58841 +23
Flags with carried forward coverage won't be shown. Click here to find out more.
... and 7 files with indirect coverage changes 📣 We’re building smart automated test selection to slash your CI/CD build times. 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.
Oh my - this is scary. Are there any other optimizations we should be careful about?
I am not sure 🥵 I think we can only find them case by case currently. Do you have any idea to handle the impure function in the optimizer? @chenzl25 |
…tility_when_predicate_push_down
Another concern is |
I came up with another one: ProjectMerge, which inlines computation and is the reverse of ColumnDedup/CSE. It adds number of calls, while the latter reduces number of calls. 😅
|
Indeed. |
…tility_when_predicate_push_down
I hereby agree to the terms of the RisingWave Labs, Inc. Contributor License Agreement.
What's changed and what's your intention?
Checklist For Contributors
./risedev check
(or alias,./risedev c
)Checklist For Reviewers
Documentation
Click here for Documentation
Types of user-facing changes
Please keep the types that apply to your changes, and remove the others.
Release note