Skip to content

More pipeline aggregation cleanup #54298

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

Merged
merged 6 commits into from
Apr 7, 2020

Conversation

nik9000
Copy link
Member

@nik9000 nik9000 commented Mar 26, 2020

This replaces the last bit of validation that pipeline aggregations
performed on the data nodes with explicit checks in a few
PipelineAggregationBuilders. We were already catching these
validation errors for pipeline aggregations that require that their
parent be sequentially ordered. This just adds validation for pipelines
that require any parent like bucket_selector and bucket_sort.

This replaces the last bit of validation that pipeline aggregations
performed on the data nodes with explicit checks in a few
`PipelineAggregationBuilders`. We were *already* catching these
validation errors for pipeline aggregations that require that their
parent be squentially ordered. This just adds validation for pipelines
that require *any* parent like `bucket_selector` and `bucket_sort`.
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-analytics-geo (:Analytics/Aggregations)

@nik9000 nik9000 mentioned this pull request Mar 26, 2020
3 tasks
@nik9000
Copy link
Member Author

nik9000 commented Mar 26, 2020

@elasticmachine run elasticsearch-ci/packaging-sample-matrix-unix

@nik9000
Copy link
Member Author

nik9000 commented Mar 26, 2020

@elasticmachine run elasticsearch-ci/packaging-sample-unix and run elasticsearch-ci/packaging-sample-matrix-unix

@nik9000
Copy link
Member Author

nik9000 commented Mar 26, 2020

@elasticmachine, test this please

Copy link
Contributor

@polyfractal polyfractal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

And there was much rejoicing. 🎉

@nik9000 nik9000 merged commit f942655 into elastic:master Apr 7, 2020
@nik9000
Copy link
Member Author

nik9000 commented Apr 7, 2020

Thanks @polyfractal!

nik9000 added a commit to nik9000/elasticsearch that referenced this pull request Apr 7, 2020
This replaces the last bit of validation that pipeline aggregations
performed on the data nodes with explicit checks in a few
`PipelineAggregationBuilders`. We were *already* catching these
validation errors for pipeline aggregations that require that their
parent be squentially ordered. This just adds validation for pipelines
that require *any* parent like `bucket_selector` and `bucket_sort`.
nik9000 added a commit that referenced this pull request Apr 7, 2020
This replaces the last bit of validation that pipeline aggregations
performed on the data nodes with explicit checks in a few
`PipelineAggregationBuilders`. We were *already* catching these
validation errors for pipeline aggregations that require that their
parent be squentially ordered. This just adds validation for pipelines
that require *any* parent like `bucket_selector` and `bucket_sort`.
nik9000 added a commit to nik9000/elasticsearch that referenced this pull request Apr 7, 2020
We can run these tests again 7.8.0 now that it has the fix.
nik9000 added a commit that referenced this pull request Apr 7, 2020
We can run these tests again 7.8.0 now that it has the fix.
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.

4 participants