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

Removed aggregations from ReduceContext #10509

Merged
merged 1 commit into from Apr 9, 2015
Merged

Removed aggregations from ReduceContext #10509

merged 1 commit into from Apr 9, 2015

Conversation

colings86
Copy link
Contributor

ReduceContext contains the list of aggregations to reduce but these aggregations are set as null half of the time. This change makes the reduce(ReduceContext) method changed to reduce(List, ReduceContext) and ReduceContext now only holds the BigArrays and Script services.

@colings86
Copy link
Contributor Author

@jpountz could you review this when you have some time?

@jpountz
Copy link
Contributor

jpountz commented Apr 9, 2015

This looks great!

ReduceContext contains the list of aggregations to reduce but these aggregations are set as null half of the time. This change makes the reduce(ReduceContext) method changed to reduce(List<InternalAggregation>, ReduceContext) and ReduceContext now only holds the BigArrays and Script services.
@colings86 colings86 merged commit fcc09f6 into elastic:master Apr 9, 2015
@colings86 colings86 deleted the enhancement/reduceContext branch April 20, 2015 14:28
@clintongormley clintongormley changed the title Aggregations: removed aggregations from ReduceContext Removed aggregations from ReduceContext Jun 6, 2015
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.

None yet

3 participants