Skip to content

Fix composite aggregation failed test cases introduce by missing_order parameter (#1942)#2005

Merged
nknize merged 2 commits intoopensearch-project:mainfrom
penghuo:issue-1998
Feb 1, 2022
Merged

Fix composite aggregation failed test cases introduce by missing_order parameter (#1942)#2005
nknize merged 2 commits intoopensearch-project:mainfrom
penghuo:issue-1998

Conversation

@penghuo
Copy link
Copy Markdown
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
Copy Markdown
Collaborator

Can one of the admins verify this patch?

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

❌   Gradle Check failure 67432ff
Log 2109

Reports 2109

@opensearch-ci-bot
Copy link
Copy Markdown
Collaborator

✅   Gradle Check success c078aec
Log 2111

Reports 2111

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

@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