-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Speed up BinaryOperatorTransformFunction evaluation to use PredicateEvaluator #14619
Speed up BinaryOperatorTransformFunction evaluation to use PredicateEvaluator #14619
Conversation
377045c
to
eaf6a9d
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #14619 +/- ##
============================================
+ Coverage 61.75% 63.68% +1.93%
- Complexity 207 1482 +1275
============================================
Files 2436 2716 +280
Lines 133233 152471 +19238
Branches 20636 23591 +2955
============================================
+ Hits 82274 97097 +14823
- Misses 44911 48045 +3134
- Partials 6048 7329 +1281
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
9778fbb
to
5164df3
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.
Is there a way to verify if this optimization is applied?
.../java/org/apache/pinot/core/operator/transform/function/BinaryOperatorTransformFunction.java
Outdated
Show resolved
Hide resolved
.../java/org/apache/pinot/core/operator/transform/function/BinaryOperatorTransformFunction.java
Outdated
Show resolved
Hide resolved
fc21c88
to
ff991bf
Compare
9e0a4d7
to
c2c2707
Compare
c2c2707
to
f11f540
Compare
105728e
to
cc9534a
Compare
It's already tested by BinaryOperatorTransformFunctionTest |
cc9534a
to
5907925
Compare
5850d63
to
969935e
Compare
969935e
to
4e79a0a
Compare
4e79a0a
to
e4c33b9
Compare
For BinaryOperatorTransformFunction, we don't need to read the values then compare but use dictionary.
Further optimization could be using predicate evaluator.