Disable approximation when there is terminate after#18018
Disable approximation when there is terminate after#18018andrross merged 3 commits intoopensearch-project:mainfrom
Conversation
|
❌ 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 <harshavamsi096@gmail.com> (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 <harshavamsi096@gmail.com> 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 <harshavamsi096@gmail.com> 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 <pgodithi@amazon.com>
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.