Skip to content

[8.18]Aggs: Add validation to Bucket script pipeline agg (#132320)#132439

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

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

Conversation

@ivancea
Copy link
Contributor

@ivancea ivancea commented Aug 5, 2025

Manual 8.18 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.18.5 labels Aug 5, 2025
@elasticsearchmachine elasticsearchmachine merged commit 1fe6500 into elastic:8.18 Aug 5, 2025
16 checks passed
@ivancea ivancea deleted the backport-8.18-aggs-fix-bucket-script branch August 5, 2025 12:15
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.18.5

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants