-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Disable approximation when there is terminate after #18018
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
Disable approximation when there is terminate after #18018
Conversation
Signed-off-by: Harsha Vamsi Kalluri <[email protected]>
Signed-off-by: Harsha Vamsi Kalluri <[email protected]>
Signed-off-by: Harsha Vamsi Kalluri <[email protected]>
❌ Gradle check result for f9af5f7: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
@harshavamsi What's the status here? Is this attempting to fix #16851? |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #18018 +/- ##
============================================
- Coverage 72.59% 72.54% -0.06%
+ Complexity 67172 67125 -47
============================================
Files 5478 5478
Lines 310125 310126 +1
Branches 45080 45081 +1
============================================
- Hits 225135 224977 -158
- Misses 66676 66836 +160
+ Partials 18314 18313 -1 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
@harshavamsi Are we missing something in the |
I don't think we could have caught this issue there. We never added the check for |
server/src/main/java/org/opensearch/search/approximate/ApproximatePointRangeQuery.java
Show resolved
Hide resolved
Signed-off-by: Harsha Vamsi Kalluri <[email protected]> (cherry picked from commit 8948c1f) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
(cherry picked from commit 8948c1f) Signed-off-by: Harsha Vamsi Kalluri <[email protected]> Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
…ct#18018) (opensearch-project#18075) (cherry picked from commit 8948c1f) Signed-off-by: Harsha Vamsi Kalluri <[email protected]> Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Signed-off-by: Prudhvi Godithi <[email protected]>
Description
We're disabling approximation when there is terminate after. We need to explicitly handle this case in the custom collector. Will raise a PR to do that later.
Related Issues
Resolves #16851
Check List
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.