crunch-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gabriel Reid (JIRA)" <>
Subject [jira] [Commented] (CRUNCH-554) Add min and max aggregators for Comparables
Date Sat, 01 Aug 2015 07:35:04 GMT


Gabriel Reid commented on CRUNCH-554:

[~jwills] or [~mkwhitacre], just wanted to double-check with you guys on the idea of deprecating
the numeric aggregators -- do either of you have any preference on that in one direction or
the other?

> Add min and max aggregators for Comparables
> -------------------------------------------
>                 Key: CRUNCH-554
>                 URL:
>             Project: Crunch
>          Issue Type: New Feature
>            Reporter: Gabriel Reid
>            Assignee: Gabriel Reid
>         Attachments: CRUNCH-554.patch
> In the Aggregators class, we currently have min and max aggregators for various numeric
types, but not for the general case of Comparables. We do have this functionality in the MaxN
and MinN aggregators, however.
> We should add MAX_COMPARABLES and MIN_COMPARABLES methods to the Aggregators class. As
extra bonus, all of the current numeric max and min aggregators can be discarded and replaced
with the comparable version.

This message was sent by Atlassian JIRA

View raw message