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
datavalues2: Logic function #3998
datavalues2: Logic function #3998
Conversation
Signed-off-by: Veeupup <code@tanweime.com>
Thanks for the contribution! Please review the labels and make any necessary changes. |
This pull request is being automatically deployed with Vercel (learn more). 🔍 Inspect: https://vercel.com/databend/databend/DNDooZXASSZShnyrSuWtMg9VxX1R [Deployment for fdf91e2 canceled] |
Signed-off-by: Veeupup <code@tanweime.com>
Signed-off-by: Veeupup <code@tanweime.com>
Signed-off-by: Veeupup <code@tanweime.com>
Signed-off-by: Veeupup <code@tanweime.com>
Signed-off-by: Veeupup <code@tanweime.com>
Constant folding optimizer with In detail: null value will be optimized as |
}; | ||
|
||
for idx in 0..input_rows { | ||
let (val, valid) = func( |
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.
can we make this func inline
to have better performence? cc @sundy-li
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.
Yes, better to test it vs before.
BTW, I do think func
is dynamically dispatched without optimization.
I think it may be better to apply:
macro_rules! xxx;
match op {
LogicOperator::And => xxx!{},
...
}
Signed-off-by: Veeupup <code@tanweime.com>
4757b63
to
efd3c8a
Compare
Signed-off-by: Veeupup <code@tanweime.com>
Codecov Report
@@ Coverage Diff @@
## datavalues-dev #3998 +/- ##
==============================================
Coverage 57% 57%
==============================================
Files 812 813 +1
Lines 43937 44022 +85
==============================================
+ Hits 25201 25255 +54
- Misses 18736 18767 +31
Continue to review full report at Codecov.
|
CI Passed |
I hereby agree to the terms of the CLA available at: https://databend.rs/dev/policies/cla/
Summary
datavalues2 logic function
Changelog
Related Issues
Fixes #3971
Test Plan
Unit Tests
Stateless Tests