Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[8.8] Fix iteration of empty percentiles throwing Null Pointer Exception (#96668) #96691

Merged

Conversation

salvatore-campagna
Copy link
Contributor

Backports the following commits to 8.8:

…lastic#96668)

When creating an empty aggregation we set the state to null. Later on this is
used by the iterator and leads to null pointer exceptions. Here we just use an
empty iterator in case there is no perceniles.
@salvatore-campagna salvatore-campagna added :Analytics/Aggregations Aggregations >bug auto-merge Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) backport Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) labels Jun 8, 2023
@elasticsearchmachine elasticsearchmachine merged commit 0e0ddd4 into elastic:8.8 Jun 8, 2023
12 checks passed
@salvatore-campagna salvatore-campagna deleted the backport/8.8/pr-96668 branch June 8, 2023 09:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Analytics/Aggregations Aggregations auto-merge 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.8.2
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants