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

Aggregates: combine sum/mean aggregators. #4440

Merged
merged 2 commits into from
Oct 23, 2023

Conversation

KiterLuc
Copy link
Contributor

@KiterLuc KiterLuc commented Oct 20, 2023

This combines the sum and mean aggregators into base class.


TYPE: IMPROVEMENT
DESC: Aggregates: combine sum/mean aggregators.

@KiterLuc KiterLuc requested a review from robertbindar October 20, 2023 16:14
@shortcut-integration
Copy link

This pull request has been linked to Shortcut Story #33763: [Refactor] Aggregates: final removal of duplicated code..

This combines the sum and mean aggregators into base class.

---
TYPE: IMPROVEMENT
DESC: Aggregates: combine sum/mean aggregators.
@KiterLuc KiterLuc force-pushed the lr/aggregates-remove-duplicate-code/ch33763 branch from fb9dec5 to 6dbae23 Compare October 20, 2023 16:14
Copy link
Contributor

@robertbindar robertbindar left a comment

Choose a reason for hiding this comment

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

Looks excellent with a minor comment that validity_value_ both here and in min/max will need to become an atomic if either a) we change its type to something bigger than uint8 b) we add code that inspects partial results, i.e. reading the variable value before all writers are done.

@KiterLuc KiterLuc merged commit d3c3e5f into dev Oct 23, 2023
54 checks passed
@KiterLuc KiterLuc deleted the lr/aggregates-remove-duplicate-code/ch33763 branch October 23, 2023 08:40
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