-
Notifications
You must be signed in to change notification settings - Fork 25.8k
Decouple MultiValueMode #24087
Copy link
Copy link
Closed as not planned
Labels
:Analytics/AggregationsAggregationsAggregations>non-issueTeam:AnalyticsMeta label for analytical engine team (ESQL/Aggs/Geo)Meta label for analytical engine team (ESQL/Aggs/Geo)help wantedadoptmeadoptme
Description
MultiValueMode does two things at once: it selects the min/max/median/sum value when documents have multiple values, but also returns a missing value when documents do not have a value. Decoupling would make things cleaner, easier to test and would eg. allow to remove the hack from the matrix stats aggs that need to treat NEGATIVE_INFINITY as a missing value since we do not expose ways to select the minimum value without also replacing missing values at the moment.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
:Analytics/AggregationsAggregationsAggregations>non-issueTeam:AnalyticsMeta label for analytical engine team (ESQL/Aggs/Geo)Meta label for analytical engine team (ESQL/Aggs/Geo)help wantedadoptmeadoptme
Type
Fields
Give feedbackNo fields configured for issues without a type.