You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[FEATURE] PPL should support terms aggregation with multiple buckets #4208
Is your feature request related to a problem?
Currently, PPL converts multiple field grouping operations into composite aggregations instead of using OpenSearch's native multi_terms aggregation. This leads to:
changed the title [-][FEATURE] PPL should support multi_terms aggregation[/-][+][FEATURE] PPL should support terms aggregation with multiple buckets[/+]on Sep 11, 2025
By deep diving, the multi_terms aggregation cannot sort the results by bucket keys. Instead, it just provides a order by metrics API. So the enhancement seems has to a nested terms aggregation:
Activity
[-][FEATURE][/-][+][FEATURE] PPL should support multi_terms aggregation[/+]LantaoJin commentedon Sep 9, 2025
It is the followup of #3550
[-][FEATURE] PPL should support multi_terms aggregation[/-][+][FEATURE] PPL should support terms aggregation with multiple buckets[/+]LantaoJin commentedon Sep 11, 2025
By deep diving, the
multi_termsaggregation cannot sort the results by bucket keys. Instead, it just provides a order by metrics API. So the enhancement seems has to a nestedtermsaggregation:LantaoJin commentedon Sep 16, 2025
List the performance found here #4282 (comment)
LantaoJin commentedon Sep 18, 2025
Close as duplicated to #4282 , won't do the nested sub-aggregations for multiple buckets.
multi-termsaggregation #4282