Skip to content

Aggs: Fix class cast exceptions in pipeline aggs#140069

Merged
ivancea merged 5 commits intoelastic:mainfrom
ivancea:aggs-pipeline-multi-bucket-cast
Jan 16, 2026
Merged

Aggs: Fix class cast exceptions in pipeline aggs#140069
ivancea merged 5 commits intoelastic:mainfrom
ivancea:aggs-pipeline-multi-bucket-cast

Conversation

@ivancea
Copy link
Contributor

@ivancea ivancea commented Dec 30, 2025

Continuation of #132320

Fixes #136173
Fixes #137624

Added cast checks to all pipeline aggs doing casts.

Some aggs had a more specific check (Only histograms as parents). I still used the checked cast there, and added a test with the original error message

@ivancea ivancea added >bug :Analytics/Aggregations Aggregations Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) v9.4.0 labels Dec 30, 2025
@ivancea ivancea changed the title Aggs: Fix Aggs: Fix class cast exceptions in pipeline aggs Dec 30, 2025
@elasticsearchmachine
Copy link
Collaborator

Hi @ivancea, I've created a changelog YAML for you.

@ivancea ivancea marked this pull request as ready for review December 30, 2025 16:13
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-analytical-engine (Team:Analytics)

@ivancea ivancea enabled auto-merge (squash) January 16, 2026 10:29
@ivancea ivancea merged commit ff727a6 into elastic:main Jan 16, 2026
35 checks passed
@ivancea ivancea deleted the aggs-pipeline-multi-bucket-cast branch January 16, 2026 11:36
spinscale pushed a commit to spinscale/elasticsearch that referenced this pull request Jan 21, 2026
Continuation of elastic#132320

Fixes elastic#136173
Fixes elastic#137624

Added cast checks to all pipeline aggs doing casts.

Some aggs had a more specific check (Only histograms as parents). I still used the checked cast there, and added a test with the original error message
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:Analytics/Aggregations Aggregations >bug Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) v9.4.0

Projects

None yet

3 participants

Comments