-
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
Implement buildEmptyAggregations for MultiTermsAggregator (#7089) #7318
Implement buildEmptyAggregations for MultiTermsAggregator (#7089) #7318
Conversation
Gradle Check (Jenkins) Run Completed with:
|
Gradle Check (Jenkins) Run Completed with:
|
This looks great. Since the unit test detects this exact problem let's roll it in here? |
@dblock I can add the unit test commit to this one. What do you think? |
Yep, you should. Iterate this PR to green. I haven't looked at the failures in the gradle check, could be legit. And thank you! |
ea238f1
to
6e9423a
Compare
Gradle Check (Jenkins) Run Completed with:
|
Can I get some help with this? I don't know why Gradle Check failed. |
Gradle Check (Jenkins) Run Completed with:
|
d891f66
to
1fe4cfd
Compare
Gradle Check (Jenkins) Run Completed with:
|
1fe4cfd
to
0075664
Compare
Gradle Check (Jenkins) Run Completed with:
|
…-project#7089) Signed-off-by: Austin Lee <austin.t.lee@gmail.com>
Signed-off-by: Austin Lee <austin.t.lee@gmail.com>
…search-project#7089) Signed-off-by: Austin Lee <austin.t.lee@gmail.com>
Update version check and reason Signed-off-by: Austin Lee <austin.t.lee@gmail.com>
0075664
to
14fd215
Compare
Gradle Check (Jenkins) Run Completed with:
|
) * Implement buildEmptyAggregations for MultiTermsAggregator (#7089) Signed-off-by: Austin Lee <austin.t.lee@gmail.com> * Address Spotless check issue Signed-off-by: Austin Lee <austin.t.lee@gmail.com> * Add a unit test for MultiTermsAggregator.buildEmptyAggregations (#7089) Signed-off-by: Austin Lee <austin.t.lee@gmail.com> * Update changelog Update version check and reason Signed-off-by: Austin Lee <austin.t.lee@gmail.com> --------- Signed-off-by: Austin Lee <austin.t.lee@gmail.com> (cherry picked from commit 86f955c) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
) * Implement buildEmptyAggregations for MultiTermsAggregator (#7089) Signed-off-by: Austin Lee <austin.t.lee@gmail.com> * Address Spotless check issue Signed-off-by: Austin Lee <austin.t.lee@gmail.com> * Add a unit test for MultiTermsAggregator.buildEmptyAggregations (#7089) Signed-off-by: Austin Lee <austin.t.lee@gmail.com> * Update changelog Update version check and reason Signed-off-by: Austin Lee <austin.t.lee@gmail.com> --------- Signed-off-by: Austin Lee <austin.t.lee@gmail.com> (cherry picked from commit 86f955c) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
) (#8333) * Implement buildEmptyAggregations for MultiTermsAggregator (#7089) * Address Spotless check issue * Add a unit test for MultiTermsAggregator.buildEmptyAggregations (#7089) * Update changelog Update version check and reason --------- (cherry picked from commit 86f955c) Signed-off-by: Austin Lee <austin.t.lee@gmail.com> Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Signed-off-by: Andriy Redko <andriy.redko@aiven.io> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
…-project#7089) (opensearch-project#7318) * Implement buildEmptyAggregations for MultiTermsAggregator (opensearch-project#7089) Signed-off-by: Austin Lee <austin.t.lee@gmail.com> * Address Spotless check issue Signed-off-by: Austin Lee <austin.t.lee@gmail.com> * Add a unit test for MultiTermsAggregator.buildEmptyAggregations (opensearch-project#7089) Signed-off-by: Austin Lee <austin.t.lee@gmail.com> * Update changelog Update version check and reason Signed-off-by: Austin Lee <austin.t.lee@gmail.com> --------- Signed-off-by: Austin Lee <austin.t.lee@gmail.com>
…-project#7089) (opensearch-project#7318) * Implement buildEmptyAggregations for MultiTermsAggregator (opensearch-project#7089) Signed-off-by: Austin Lee <austin.t.lee@gmail.com> * Address Spotless check issue Signed-off-by: Austin Lee <austin.t.lee@gmail.com> * Add a unit test for MultiTermsAggregator.buildEmptyAggregations (opensearch-project#7089) Signed-off-by: Austin Lee <austin.t.lee@gmail.com> * Update changelog Update version check and reason Signed-off-by: Austin Lee <austin.t.lee@gmail.com> --------- Signed-off-by: Austin Lee <austin.t.lee@gmail.com> Signed-off-by: Shivansh Arora <hishiv@amazon.com>
Description
The implementation for the 'buildEmptyAggregation' method for MultiTermsAggregator was incomplete and was simply returning null. This change completes the implementation for this method and adds a YAML REST test case for it.
I have another PR that has a unit test for this change. I want to get feedback on that separately from this PR.
Issues Resolved
#7089
#5785
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.