Skip to content
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 composite aggregation failed test cases introduce by missing_order parameter (#1942) #2005

Merged
merged 2 commits into from
Feb 1, 2022

Conversation

penghuo
Copy link
Contributor

@penghuo penghuo commented Jan 28, 2022

Description

Fix bug introduce by #1942. InternalBucket compareKey method should use MissingOrder to decide null values's order

  • Run CompositeAggregatorTests 100 times, ./gradlew ':server:test' -Dtests.iters=100 --tests "org.opensearch.search.aggregations.bucket.composite.CompositeAggregatorTests", All Passed
  • Run ./gradlew 'server:test', All Passed.

Issues Resolved

#1998

Check List

  • New functionality includes testing.
    • All tests pass
  • New functionality has been documented.
    • New functionality has javadoc added
  • Commits are signed per the DCO using --signoff

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.

…r parameter (opensearch-project#1942)

InternalBucket should use MissingOrder to decide null values's order.

Signed-off-by: Peng Huo <penghuo@gmail.com>
@opensearch-ci-bot
Copy link
Collaborator

Can one of the admins verify this patch?

Signed-off-by: Peng Huo <penghuo@gmail.com>
@opensearch-ci-bot
Copy link
Collaborator

❌   Gradle Check failure 67432ff
Log 2109

Reports 2109

@opensearch-ci-bot
Copy link
Collaborator

✅   Gradle Check success c078aec
Log 2111

Reports 2111

@saratvemulapalli saratvemulapalli added the bug Something isn't working label Jan 28, 2022
Copy link
Collaborator

@nknize nknize left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Search:Aggregations v2.0.0 Version 2.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants