You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@crunch.apache.org by "Josh Wills (JIRA)" <ji...@apache.org> on 2014/04/15 07:42:15 UTC
[jira] [Updated] (CRUNCH-376) Add aggregate(...) function to
PCollection
[ https://issues.apache.org/jira/browse/CRUNCH-376?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Josh Wills updated CRUNCH-376:
------------------------------
Attachment: CRUNCH-376b.patch
Put this into patch form-- [~jgmath2000], one concern: the result of an Aggregator call isn't necessarily a single value (e.g., a TOP_N aggregation). I'm trying to think of a clean way to represent both the single-valued and multi-valued aggregations.
> Add aggregate(...) function to PCollection
> ------------------------------------------
>
> Key: CRUNCH-376
> URL: https://issues.apache.org/jira/browse/CRUNCH-376
> Project: Crunch
> Issue Type: New Feature
> Components: Core
> Reporter: Jason Gauci
> Assignee: Josh Wills
> Priority: Minor
> Attachments: CRUNCH-376b.patch
>
>
> This patch adds an aggregate() function to PCollection so you can do things like sum a collection of integers in one line.
> https://github.com/MisterTea/crunch/commit/4bd8b7a13b893ddb89c11d657ba5347b92fe5a88
--
This message was sent by Atlassian JIRA
(v6.2#6252)