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

Remove some deprecation warnings parsing aggs #53026

Merged
merged 1 commit into from
Mar 3, 2020

Conversation

nik9000
Copy link
Member

@nik9000 nik9000 commented Mar 2, 2020

With #50871 aggrgations should now be parsed directly by an
ObjectParser or ConstructingObjectParser without the need for the
ceremonial parse method. This removes 10 of those parse methods and
parses the aggregation directly from their ObjectParser.

Closes #49801.

With elastic#50871 aggrgations should now be parsed directly by an
`ObjectParser` or `ConstructingObjectParser` without the need for the
ceremonial `parse` method. This removes 10 of those `parse` methods and
parses the aggregation directly from their `ObjectParser`.
@elasticmachine
Copy link
Collaborator

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

@imotov
Copy link
Contributor

imotov commented Mar 2, 2020

@elasticmachine run elasticsearch-ci/1

(Unrelated failure tracked by #52490)

Copy link
Contributor

@imotov imotov left a comment

Choose a reason for hiding this comment

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

Nice cleanup!

Copy link
Member

@not-napoleon not-napoleon left a comment

Choose a reason for hiding this comment

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

LGTM. I love a net negative lines PR. Also, I think this resolves #49801 which I see I did a terrible job of naming.

@nik9000
Copy link
Member Author

nik9000 commented Mar 3, 2020

LGTM. I love a net negative lines PR. Also, I think this resolves #49801 which I see I did a terrible job of naming.

Nice!

@nik9000 nik9000 merged commit 266d0f3 into elastic:master Mar 3, 2020
nik9000 added a commit to nik9000/elasticsearch that referenced this pull request Mar 3, 2020
)

With elastic#50871 aggrgations should now be parsed directly by an
`ObjectParser` or `ConstructingObjectParser` without the need for the
ceremonial `parse` method. This removes 10 of those `parse` methods and
parses the aggregation directly from their `ObjectParser`.
nik9000 added a commit that referenced this pull request Mar 3, 2020
…53072)

With #50871 aggrgations should now be parsed directly by an
`ObjectParser` or `ConstructingObjectParser` without the need for the
ceremonial `parse` method. This removes 10 of those `parse` methods and
parses the aggregation directly from their `ObjectParser`.
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.

Construct the percentile aggregation builder's parser statically
5 participants