Skip to content

Allow serial_diff under min_doc_count aggs (backport of #86401)#86947

Merged
nik9000 merged 1 commit intoelastic:7.17from
nik9000:serial_diff_gaps_ok_7_x
May 20, 2022
Merged

Allow serial_diff under min_doc_count aggs (backport of #86401)#86947
nik9000 merged 1 commit intoelastic:7.17from
nik9000:serial_diff_gaps_ok_7_x

Conversation

@nik9000
Copy link
Copy Markdown
Member

@nik9000 nik9000 commented May 19, 2022

Before 6.6 we allowed the serial_diff agg in lots of places, including
under date_histogram aggregations with min_doc_count: 1. This
allowed you to take the difference of two adjacent buckets, skipping any
that don't have any value. So if you have a value at 10am, no value at
11am, and another at noon the serial_diff will diff the 10am and noon
values. In 6.6 we disabled support for this. We'd like it back.

Before 6.6 we allowed the `serial_diff` agg in lots of places, including
under `date_histogram` aggregations with `min_doc_count: 1`. This
allowed you to take the difference of two adjacent buckets, skipping any
that don't have any value. So if you have a value at 10am, no value at
11am, and another at noon the `serial_diff` will diff the 10am and noon
values. In 6.6 we disabled support for this. We'd like it back.
@nik9000
Copy link
Copy Markdown
Member Author

nik9000 commented May 20, 2022

run elasticsearch-ci/bwc

@nik9000 nik9000 merged commit 957b473 into elastic:7.17 May 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant