abhishekrb19 opened a new pull request, #14598: URL: https://github.com/apache/druid/pull/14598
This change: - Adds an `earliest` aggregator merge strategy similar to the `latest` merge strategy done in https://github.com/apache/druid/pull/14560. - Updates `SegmentMetadataQueryQueryToolChestTest` to include tests for earliest aggregator strategy, a test case for union datasource, and null analysis types. - Enables `AGGREGATORS` analysis type in `SegmentMetadataQueryTest` to get more test coverage. ##### Key changed/added classes in this PR * `AggregatorMergeStrategy.java` * `SegmentMetadataQueryQueryToolChest.java` * `SegmentMetadataQueryQueryToolChestTest.java` #### Release note: `aggregatorMergeStrategy` also supports an `earliest` merge strategy. Related to https://github.com/apache/druid/pull/14560. This PR has: - [x] been self-reviewed. - [x] added documentation for new or modified features or behaviors. - [x] a release note entry in the PR description. - [x] added comments explaining the "why" and the intent of the code wherever would not be obvious for an unfamiliar reader. - [x] added unit tests or modified existing tests to cover new code paths, ensuring the threshold for [code coverage](https://github.com/apache/druid/blob/master/dev/code-review/code-coverage.md) is met. - [x] been tested in a test Druid cluster. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
