-
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
[Star tree] Rename count to value_count to be inline with aggregations #15147
[Star tree] Rename count to value_count to be inline with aggregations #15147
Conversation
❌ Gradle check result for 1a85868: 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? |
1a85868
to
a842fa8
Compare
❌ Gradle check result for a842fa8: 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: Bharathwaj G <[email protected]>
a842fa8
to
8ac65ac
Compare
❕ Gradle check result for 8ac65ac: 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 #15147 +/- ##
============================================
+ Coverage 71.81% 71.88% +0.06%
- Complexity 63053 63119 +66
============================================
Files 5212 5212
Lines 295649 295649
Branches 42692 42692
============================================
+ Hits 212331 212514 +183
+ Misses 65862 65676 -186
- Partials 17456 17459 +3 ☔ View full report in Codecov by Sentry. |
server/src/test/java/org/opensearch/common/util/ByteArrayBackedBitsetTests.java
Show resolved
Hide resolved
LGTM! thanks @bharath-techie Adding here for reference: https://opensearch.org/docs/latest/aggregations/metric/value-count/ |
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.
LGTM
Just confirming that this is not a breaking change for something that we GA-ed already? |
@dblock Star Tree is yet to be GA-ed as a feature. It still under development, and the plan is to backport it to 2.x for OS 2.17. We introduced a count as a aggregation here, but its still a part of main branch only. |
@bharath-techie You might want to start drafting API changes in https://github.com/opensearch-project/opensearch-api-specification earlier than later for this feature. That repo supports testing with feature flags enabled, too. |
Sure thanks @dblock let me track this - will create an associated issue as well. |
…value_count_rename
❕ Gradle check result for e878a36: 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. |
Signed-off-by: Bharathwaj G <[email protected]>
Signed-off-by: Bharathwaj G <[email protected]> (cherry picked from commit e8ee6db) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
(cherry picked from commit e8ee6db) Signed-off-by: Bharathwaj G <[email protected]> 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>
Signed-off-by: Bharathwaj G <[email protected]>
Description
Rename "count" to "value_count" to be inline with naming conventions of search aggregations
Related Issues
Solves part of #15148
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.