Skip to content

Conversation

ivancea
Copy link
Contributor

@ivancea ivancea commented Feb 12, 2025

Manual 8.x backport of #122023

…ate to suppliers (elastic#122023)

To avoid having AggregateMapper find aggregators based on their names with reflection, I'm doing some changes:
- Make the suppliers have methods returning the intermediate states
- To allow this, the suppliers constructor won't receive the chanells as params. Instead, its methods will ask for them
  - Most changes in this PR are because of this
- After those changes, I'm leaving AggregateMapper still there, as it still converts AggregateFunctions to its NamedExpressions
@ivancea ivancea added >refactoring backport Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) :Analytics/ES|QL AKA ESQL v8.19.0 labels Feb 12, 2025
@ivancea ivancea merged commit fac58ce into elastic:8.x Feb 12, 2025
15 checks passed
@ivancea ivancea deleted the backport-8.x-esql-aggregate-mapper-to-supplier branch February 12, 2025 16:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:Analytics/ES|QL AKA ESQL backport >refactoring Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) v8.19.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant