Skip to content

Conversation

@cbuescher
Copy link
Member

@cbuescher cbuescher commented Apr 24, 2017

Similar to #24085 this adds parsing for InternalExtendedStats.
PR is against the current feature branch for aggregation parsing.

Relates to #24239.

@cbuescher
Copy link
Member Author

cbuescher commented Apr 25, 2017

Rebased after merging #24239, this should be ready for review now.

Copy link
Member

@javanna javanna left a comment

Choose a reason for hiding this comment

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

LGTM besides the small comment I left

commonStatsAssertions(aggregation, parsed);
}

static void commonStatsAssertions(InternalStats aggregation, ParsedStats parsed) {
Copy link
Member

Choose a reason for hiding this comment

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

can you rename this method, I'd like method names to contain a verb which indicates what they do e.g. assertStats ?

Copy link
Member Author

Choose a reason for hiding this comment

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

sure

@cbuescher cbuescher merged commit 0e31a21 into elastic:feature/client_aggs_parsing Apr 25, 2017
javanna pushed a commit to javanna/elasticsearch that referenced this pull request May 23, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants