Skip to content

Conversation

ivancea
Copy link
Contributor

@ivancea ivancea commented Aug 5, 2025

Manual 9.1 backport of #132320

Closes elastic#132272

Docs are explicit on what the bucket_script agg requires:

> A parent pipeline aggregation which executes a script which can perform per bucket computations on specified metrics in the parent **_multi-bucket aggregation_**

But it's missing a validation.
@ivancea ivancea added >bug :Analytics/Aggregations Aggregations backport Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) v9.1.1 labels Aug 5, 2025
@elasticsearchmachine elasticsearchmachine merged commit 3ee0fd4 into elastic:9.1 Aug 5, 2025
35 checks passed
@ivancea ivancea deleted the backport-9.1-aggs-fix-bucket-script branch August 5, 2025 12:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:Analytics/Aggregations Aggregations auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) backport >bug Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) v9.1.1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants