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

Add default averager to support general trailing aggregates #11387 #11388

Conversation

yuanlihan
Copy link
Contributor

Fixes #11387.

Description

Add a default type Averager to support general trailing aggregates using existing Druid aggregators.


Key changed/added classes in this PR
  • BaseAverager
  • MovingAverageIterable
  • DefaultAggregateAverager
  • DefaultAggregateAveragerFactory

This PR has:

  • added documentation for new or modified features or behaviors.
  • added Javadocs for most classes and all non-trivial methods. Linked related entities via Javadoc links.
  • added or updated version, license, or notice information in licenses.yaml
  • added comments explaining the "why" and the intent of the code wherever would not be obvious for an unfamiliar reader.
  • added unit tests or modified existing tests to cover new code paths, ensuring the threshold for code coverage is met.
  • added integration tests.
  • been tested in a test Druid cluster.

@yuanlihan yuanlihan force-pushed the add-default-averager-to-support-general-trailing-aggregates branch from 728621c to e8dd82c Compare July 29, 2021 01:33
@marcospassos
Copy link

Same use case here.

@stale
Copy link

stale bot commented Apr 17, 2022

This pull request has been marked as stale due to 60 days of inactivity. It will be closed in 4 weeks if no further activity occurs. If you think that's incorrect or this pull request should instead be reviewed, please simply write any comment. Even if closed, you can still revive the PR at any time or discuss it on the dev@druid.apache.org list. Thank you for your contributions.

@stale stale bot added the stale label Apr 17, 2022
@yuanlihan yuanlihan closed this Jun 21, 2023
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.

Add a default type averager to support trailing aggregates using existing Druid aggregators
3 participants