-
Notifications
You must be signed in to change notification settings - Fork 25.2k
Add keep_values gap policy #73297
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
Add keep_values gap policy #73297
Conversation
Adds a new keep_values gap policy that works like skip, except if the metric calculated on an empty bucket provides a non-null non-NaN value, this value is used for the bucket. Fixes elastic#27377
@elasticmachine update branch |
@elasticmachine run elasticsearch-ci/part-1 |
@elasticmachine run elasticsearch-ci/bwc |
@elasticmachine update branch |
@elasticmachine update branch |
@elasticmachine update branch |
@elasticmachine update branch |
Pinging @elastic/es-analytics-geo (Team:Analytics) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
server/src/main/java/org/elasticsearch/search/aggregations/pipeline/BucketHelpers.java
Outdated
Show resolved
Hide resolved
…eline/BucketHelpers.java Co-authored-by: Mark Tozzi <[email protected]>
@elasticmachine update branch |
@elasticmachine run elasticsearch-ci/bwc |
Adds a new keep_values gap policy that works like skip, except if the metric calculated on an empty bucket provides a non-null non-NaN value, this value is used for the bucket. Fixes #27377 Co-authored-by: Mark Tozzi <[email protected]>
Adds a new keep_values gap policy that works like skip, except if the metric
calculated on an empty bucket provides a non-null non-NaN value, this value is
used for the bucket.
Fixes #27377