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

Render sum as zero if count is zero for stats aggregation #27193

Merged
merged 1 commit into from
Nov 2, 2017

Conversation

liketic
Copy link

@liketic liketic commented Oct 31, 2017

Closes #26893

I would appreciate it if your can take a look at this. @colings86 😃

@elasticmachine
Copy link
Collaborator

Since this is a community submitted pull request, a Jenkins build has not been kicked off automatically. Can an Elastic organization member please verify the contents of this patch and then kick off a build manually?

@colings86
Copy link
Contributor

Jenkins test this

@colings86
Copy link
Contributor

jenkins retest this

@colings86
Copy link
Contributor

@liketic There were some issues with the build that were unrelated to your change yesterday that stopped the build from succeeding. These should be fixed now so I'll set off a build again

@colings86
Copy link
Contributor

jenkins test this

@liketic liketic force-pushed the bugfix/issues/26893 branch from b543ae5 to e7a32c6 Compare November 2, 2017 09:27
@liketic
Copy link
Author

liketic commented Nov 2, 2017

hi @colings86 I rebased the PR, please try again. Thanks!

@colings86
Copy link
Contributor

jenkins retest this please

@colings86
Copy link
Contributor

@liketic this change looks good to me and the build is now passing. I'll merge this soon. Thanks for the contribution, it is much appreciated

@colings86 colings86 merged commit 55b9dfd into elastic:master Nov 2, 2017
martijnvg added a commit that referenced this pull request Nov 3, 2017
* master:
  Fixed byte buffer leak in Netty4 request handler
  Avoid uid creation in ParsedDocument (#27241)
  Rander sum as zero if count is zero for stats aggregation (#26893) (#27193)
  Add additional explanations around discovery.zen.ping_timeout (#27231)
  Remove unused searcher parameter in SearchService#createContext (#27227)
  Upgrade to Lucene 7.1 (#27225)
  Move IndexShard#getWritingBytes() under InternalEngine (#27209)
  Adjust bwc version for exists query tests
  Introducing took time for _msearch
@clintongormley clintongormley changed the title Rander sum as zero if count is zero for stats aggregation (#26893) Render sum as zero if count is zero for stats aggregation Nov 6, 2017
@elasticmachine
Copy link
Collaborator

Since this is a community submitted pull request, a Jenkins build has not been kicked off automatically. Can an Elastic organization member please verify the contents of this patch and then kick off a build manually?

@liketic liketic deleted the bugfix/issues/26893 branch November 6, 2017 10:50
@lcawl lcawl mentioned this pull request Apr 9, 2019
russcam added a commit to elastic/elasticsearch-net that referenced this pull request Jun 20, 2019
Relates: elastic/elasticsearch#27193

This commit updates Sum property on StatsAggregate to be modelled as non-nullable and to derive ExtendedStatsAggregate from StatsAggregate. Adds integration test to assert deserialization behaviour.
Mpdreamz pushed a commit to elastic/elasticsearch-net that referenced this pull request Jun 20, 2019
Relates: elastic/elasticsearch#27193

This commit updates Sum property on StatsAggregate to be modelled as non-nullable and to derive ExtendedStatsAggregate from StatsAggregate. Adds integration test to assert deserialization behaviour.
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