-
Notifications
You must be signed in to change notification settings - Fork 25.5k
Labels
:Analytics/ES|QLAKA ESQLAKA ESQL>bugTeam:AnalyticsMeta label for analytical engine team (ESQL/Aggs/Geo)Meta label for analytical engine team (ESQL/Aggs/Geo)
Description
Original issue for TOP: #134293
Found aggs:
- Count
- Median
- Max
- Min
- Sum
- Top (Propagate filter in TOP(field, 1, order) surrogate. #134376)
- WeightedAvg
Still, double check again in case there's some missing, I just searched for public Expression surrogate() {
.
Also, we could use having some automatic test case for this. A check for all aggregates that ensure that the filter isn't lost if it returns another agg.
Open questions
If we surrogate an agg to a normal function, the filter is lost. But will the value be correct? Add test cases, if none.
E.g.
Line 180 in e239113
return new MvPercentile(source(), new ToDouble(source(), field), percentile()); |
dnhatn and alex-spies
Metadata
Metadata
Assignees
Labels
:Analytics/ES|QLAKA ESQLAKA ESQL>bugTeam:AnalyticsMeta label for analytical engine team (ESQL/Aggs/Geo)Meta label for analytical engine team (ESQL/Aggs/Geo)