You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@crunch.apache.org by "Gabriel Reid (JIRA)" <ji...@apache.org> on 2015/07/29 10:27:05 UTC
[jira] [Created] (CRUNCH-554) Add min and max aggregators for
Comparables
Gabriel Reid created CRUNCH-554:
-----------------------------------
Summary: Add min and max aggregators for Comparables
Key: CRUNCH-554
URL: https://issues.apache.org/jira/browse/CRUNCH-554
Project: Crunch
Issue Type: New Feature
Reporter: Gabriel Reid
Assignee: Gabriel Reid
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
(v6.3.4#6332)