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

Extract common reduce logic from InternalTerms for reuse #66565

Merged
merged 1 commit into from
Dec 18, 2020

Conversation

imotov
Copy link
Contributor

@imotov imotov commented Dec 17, 2020

In #65623 we are adding a new aggregation that can reuse some of the
non-trivial logic of terms aggs such as reduction. This refactoring
moves some of this logic into a parent class where it can be reused.

Relates to #65623

In elastic#65623 we are adding a new aggregation that can reuse some of the
non-trivial logic of terms aggs such as reduction. This refactoring
moves some of this logic into a parent class where it can be reused.

Relates to elastic#65623
@imotov imotov requested a review from not-napoleon December 17, 2020 22:12
@imotov imotov removed the WIP label Dec 17, 2020
@imotov imotov marked this pull request as ready for review December 17, 2020 22:13
@elasticmachine elasticmachine added the Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) label Dec 17, 2020
@elasticmachine
Copy link
Collaborator

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

Copy link
Contributor

@polyfractal polyfractal left a comment

Choose a reason for hiding this comment

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

👍

@imotov imotov removed the request for review from not-napoleon December 18, 2020 17:33
@imotov imotov merged commit ae27203 into elastic:master Dec 18, 2020
imotov added a commit that referenced this pull request Dec 18, 2020
In #65623 we are adding a new aggregation that can reuse some of the
non-trivial logic of terms aggs such as reduction. This refactoring
moves some of this logic into a parent class where it can be reused.

Relates to #65623
@imotov imotov deleted the issue-65623-refactor-terms-reducer branch December 18, 2020 19:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Analytics/Aggregations Aggregations >refactoring Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) v7.12.0 v8.0.0-alpha1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants