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

Perform reduce with InternalAggregations#topLevelReduce in AggregatorTestCase #98862

Merged
merged 1 commit into from
Aug 27, 2023

Conversation

iverase
Copy link
Contributor

@iverase iverase commented Aug 25, 2023

In order to make AggregatorTestCase similar to how aggregations are run on production, lets use InternalAggregations#topLevelReduce as this is the code path we are using. There are some side effects in histogram aggregations as if they are empty, the state now is null.

relates #98672

@iverase iverase added >test Issues or PRs that are addressing/adding tests :Analytics/Aggregations Aggregations v8.11.0 labels Aug 25, 2023
@iverase iverase requested a review from martijnvg August 25, 2023 07:20
@elasticsearchmachine elasticsearchmachine added the Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) label Aug 25, 2023
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-analytics-geo (Team:Analytics)

Copy link
Member

@martijnvg martijnvg left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@iverase
Copy link
Contributor Author

iverase commented Aug 25, 2023

unrelated: #98863

@elasticmachine run elasticsearch-ci/part-2

@iverase iverase merged commit fe58feb into elastic:main Aug 27, 2023
@iverase iverase deleted the AggregatorTestCaseInternalAggs branch August 27, 2023 23:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Analytics/Aggregations Aggregations Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) >test Issues or PRs that are addressing/adding tests v8.11.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants