Skip to content

Conversation

@harshavamsi
Copy link
Contributor

@harshavamsi harshavamsi commented Sep 18, 2025

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

  • Functionality includes testing.
  • API changes companion pull request created, if applicable.
  • Public documentation issue/PR created, if applicable.

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.

@github-actions
Copy link
Contributor

❌ 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>
Signed-off-by: Harsha Vamsi Kalluri <harshavamsi096@gmail.com>
@github-actions
Copy link
Contributor

❕ 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>
@github-actions
Copy link
Contributor

❕ 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>
@github-actions
Copy link
Contributor

❌ 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>
@github-actions
Copy link
Contributor

github-actions bot commented Oct 1, 2025

✅ Gradle check result for d9932d6: SUCCESS

Signed-off-by: Harsha Vamsi Kalluri <harshavamsi096@gmail.com>
@github-actions
Copy link
Contributor

github-actions bot commented Oct 1, 2025

✅ Gradle check result for b8c9499: SUCCESS

@rishabhmaurya rishabhmaurya merged commit 48b08fb into opensearch-project:main Oct 2, 2025
37 checks passed
@github-project-automation github-project-automation bot moved this from In Progress to Done in Performance Roadmap Oct 2, 2025

public void testBuildAggregationsBatchWithSingleValuedOrds() throws Exception {
try (Directory directory = newDirectory()) {
try (IndexWriter indexWriter = new IndexWriter(directory, new IndexWriterConfig())) {
Copy link
Contributor

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

peteralfonsi pushed a commit to peteralfonsi/OpenSearch that referenced this pull request Oct 15, 2025
)

* 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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants