-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Add unit test of multipler orders for multiple terms aggregation. #13400
Add unit test of multipler orders for multiple terms aggregation. #13400
Conversation
❕ Gradle check result for f09ee2d: UNSTABLE
Please review all flaky tests that succeeded after retry and create an issue if one does not already exist to track the flaky failure. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #13400 +/- ##
============================================
+ Coverage 71.42% 71.61% +0.19%
- Complexity 59978 60863 +885
============================================
Files 4985 5045 +60
Lines 282275 286080 +3805
Branches 40946 41432 +486
============================================
+ Hits 201603 204889 +3286
- Misses 63999 64280 +281
- Partials 16673 16911 +238 ☔ View full report in Codecov by Sentry. |
rest-api-spec/src/main/resources/rest-api-spec/test/search.aggregation/370_multi_terms.yml
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.
Great stuff.
You need to amend/sign your commits with DCO, -s
, please?
rest-api-spec/src/main/resources/rest-api-spec/test/search.aggregation/370_multi_terms.yml
Show resolved
Hide resolved
Since these tests pass, make the changes in the comments as you suggested in #13375 and maybe open a documentation PR? |
f5a9520
to
a3a1f23
Compare
a3a1f23
to
5257b82
Compare
I have updated the comments in 'MultiTermsAggregationBuilder.java'. |
Create a doc issue for this: opensearch-project/documentation-website#7037 |
Can you please rebase to get CI to pass? We fixed these errors in #13412, but need to make sure there's nothing else broken. Thanks! |
1. test case for multiple orders 2. test case for multiple orders and size Signed-off-by: Zhikai Chen <snoopy_czk@126.com>
Signed-off-by: Zhikai Chen <snoopy_czk@126.com>
bd340cf
to
15e994e
Compare
Done. |
Done. |
Hi @dblock , could you please kindly let me know what should I do next? (I have signed the commits, but still shows "1 change requested") |
It's me! I needed to re-review and hit approve ;) |
Thanks for contributing @Zhikai-VM! Hope you can pickup something else ;) |
…3400) * Add unit test cases for multiple terms aggregation: 1. test case for multiple orders 2. test case for multiple orders and size Signed-off-by: Zhikai Chen <snoopy_czk@126.com> * Update the comments. Signed-off-by: Zhikai Chen <snoopy_czk@126.com> --------- Signed-off-by: Zhikai Chen <snoopy_czk@126.com> (cherry picked from commit 4ee984f) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
…3400) (#13450) * Add unit test cases for multiple terms aggregation: 1. test case for multiple orders 2. test case for multiple orders and size * Update the comments. --------- (cherry picked from commit 4ee984f) Signed-off-by: Zhikai Chen <snoopy_czk@126.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>
Thanks for your help! |
@dblock We want to revise the official document also. Could you answer this comment: opensearch-project/documentation-website#7039 (comment)? Thanks. |
@dblock @bowenlan-amzn Could you have a check of this PR: opensearch-project/documentation-website#7039. Thanks. |
Description
I added unit tests to verify the multiple orders in the multiple terms aggregation.
Related Issues
Resolves #13375
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.