-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Expand streaming aggregations to numeric terms #19335
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
Expand streaming aggregations to numeric terms #19335
Conversation
|
❌ Gradle check result for 26e87a1: 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: Harsha Vamsi Kalluri <harshavamsi096@gmail.com>
26e87a1 to
f0846d8
Compare
|
❕ Gradle check result for b0d6d72: 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: Harsha Vamsi Kalluri <harshavamsi096@gmail.com>
Signed-off-by: Harsha Vamsi Kalluri <harshavamsi096@gmail.com>
|
❕ Gradle check result for 0fa9202: 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: Harsha Vamsi Kalluri <harshavamsi096@gmail.com>
Signed-off-by: Harsha Vamsi Kalluri <harshavamsi096@gmail.com>
Signed-off-by: Harsha Vamsi Kalluri <harshavamsi096@gmail.com>
Signed-off-by: Harsha Vamsi Kalluri <harshavamsi096@gmail.com>
|
❌ Gradle check result for bcd751d: 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: Harsha Vamsi Kalluri <harshavamsi096@gmail.com>
server/src/main/java/org/opensearch/search/aggregations/bucket/BucketsAggregator.java
Show resolved
Hide resolved
Signed-off-by: Harsha Vamsi Kalluri <harshavamsi096@gmail.com>
.../main/java/org/opensearch/search/aggregations/bucket/terms/StreamNumericTermsAggregator.java
Show resolved
Hide resolved
|
|
||
| public void testBuildAggregationsBatchWithSingleValuedOrds() throws Exception { | ||
| try (Directory directory = newDirectory()) { | ||
| try (IndexWriter indexWriter = new IndexWriter(directory, new IndexWriterConfig())) { |
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.
I suppose these tests should verify segmented index with RandomIndexWriter
) * Expand streaming aggregations to numeric terms Signed-off-by: Harsha Vamsi Kalluri <harshavamsi096@gmail.com> * Add tests Signed-off-by: Harsha Vamsi Kalluri <harshavamsi096@gmail.com> * Changelog Signed-off-by: Harsha Vamsi Kalluri <harshavamsi096@gmail.com> * Fix gradle assemble Signed-off-by: Harsha Vamsi Kalluri <harshavamsi096@gmail.com> * update test coverage Signed-off-by: Harsha Vamsi Kalluri <harshavamsi096@gmail.com> * remove custom stream package Signed-off-by: Harsha Vamsi Kalluri <harshavamsi096@gmail.com> * remove custom stream package Signed-off-by: Harsha Vamsi Kalluri <harshavamsi096@gmail.com> * remove unused results Signed-off-by: Harsha Vamsi Kalluri <harshavamsi096@gmail.com> --------- Signed-off-by: Harsha Vamsi Kalluri <harshavamsi096@gmail.com>
Description
Similar to #18874 where we added streaming capabilities for terms aggregation, this PR helps expand it to numeric terms as well.
Related Issues
Resolves #[Issue number to be closed when this PR is merged]
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.