-
Notifications
You must be signed in to change notification settings - Fork 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
fix: fix chunked segment term filter expression and add ut #37392
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #37392 +/- ##
===========================================
- Coverage 83.23% 68.13% -15.11%
===========================================
Files 1015 290 -725
Lines 157697 25395 -132302
===========================================
- Hits 131260 17302 -113958
+ Misses 21228 8093 -13135
+ Partials 5209 0 -5209
|
@sunby E2e jenkins job failed, comment |
@sunby cpp-unit-test check failed, comment |
@sunby E2e jenkins job failed, comment |
@sunby go-sdk check failed, comment |
@sunby cpp-unit-test check failed, comment |
@sunby go-sdk check failed, comment |
@sunby E2e jenkins job failed, comment |
1 similar comment
@sunby E2e jenkins job failed, comment |
@sunby cpp-unit-test check failed, comment |
@sunby go-sdk check failed, comment |
@sunby E2e jenkins job failed, comment |
@@ -137,9 +138,18 @@ PhyTermFilterExpr::CanSkipSegment() { | |||
max = i == 0 ? val : std::max(val, max); | |||
min = i == 0 ? val : std::min(val, min); | |||
} | |||
auto can_skip = [&]() -> bool { |
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 we can skip by chunk instead of skip by segment?
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 we can skip by chunk instead of skip by segment?
yes, we can check if a chunk can be skipped in search_pks function for this case.
/lgtm |
@sunby cpp-unit-test check failed, comment |
@sunby E2e jenkins job failed, comment |
/run-cpu-e2e |
/lgtm |
@sunby E2e jenkins job failed, comment |
@sunby cpp-unit-test check failed, comment |
@sunby E2e jenkins job failed, comment |
Signed-off-by: sunby <[email protected]>
Signed-off-by: sunby <[email protected]>
Signed-off-by: sunby <[email protected]>
@sunby E2e jenkins job failed, comment |
/run-cpu-e2e |
@sunby E2e jenkins job failed, comment |
/run-cpu-e2e |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: sunby, xiaofan-luan The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
let's leave the skip chunk by chunk path into a seperate PR |
issue: #37143