Skip to content

[8.17] Aggs: Add validation to Bucket script pipeline agg (#132320)#132438

Merged
elasticsearchmachine merged 1 commit intoelastic:8.17from
ivancea:backport-8.17-aggs-fix-bucket-script
Aug 5, 2025
Merged

[8.17] Aggs: Add validation to Bucket script pipeline agg (#132320)#132438
elasticsearchmachine merged 1 commit intoelastic:8.17from
ivancea:backport-8.17-aggs-fix-bucket-script

Conversation

@ivancea
Copy link
Contributor

@ivancea ivancea commented Aug 5, 2025

Manual 8.17 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!) v8.17.10 labels Aug 5, 2025
@elasticsearchmachine elasticsearchmachine merged commit e5c4b2a into elastic:8.17 Aug 5, 2025
16 checks passed
@ivancea ivancea deleted the backport-8.17-aggs-fix-bucket-script branch August 5, 2025 12:23
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) v8.17.10

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants