-
Notifications
You must be signed in to change notification settings - Fork 2k
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 missing bucket in terms aggregation with missing value #17418
Fix missing bucket in terms aggregation with missing value #17418
Conversation
b33bb37
to
317a1d2
Compare
server/src/main/java/org/opensearch/search/aggregations/support/MissingValues.java
Show resolved
Hide resolved
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.
Thanks @kkewwei!
Are there other places where the logical change in GlobalOrdinalsStringTermsAggregator might cause problems?
❌ Gradle check result for 317a1d2: 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? |
Signed-off-by: kkewwei <kewei.11@bytedance.com> Signed-off-by: kkewwei <kkewwei@163.com>
317a1d2
to
a845d85
Compare
❌ Gradle check result for a845d85: 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? |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #17418 +/- ##
============================================
- Coverage 72.41% 72.40% -0.02%
+ Complexity 65667 65647 -20
============================================
Files 5303 5303
Lines 304781 304793 +12
Branches 44201 44202 +1
============================================
- Hits 220709 220672 -37
- Misses 65959 66043 +84
+ Partials 18113 18078 -35 ☔ View full report in Codecov by Sentry. |
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 add another case where field is in text but has two words?
@noCharger The test that was added here failed for the text case without the fix so I think it probably gives sufficient coverage. |
Signed-off-by: kkewwei kewei.11@bytedance.com
Signed-off-by: kkewwei kkewwei@163.com
Fix missing bucket in terms aggregation with missing value
Description
[Describe what this change achieves]
Related Issues
Resolves #17391
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.