[
https://issues.apache.org/jira/browse/CRUNCH-118?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Matthias Friedrich updated CRUNCH-118:
--------------------------------------
Attachment: CRUNCH-118v3.patch
Great stuff! I think SAMPLE_UNIQUE_ELEMENTS() isn't really random, so I removed
this from the javadoc and I've made a couple of trivial tweaks.
+1, with or without my changes :)
> Add Aggregator and lib functionality for computing the distinct elements of a
> PCollection
> -----------------------------------------------------------------------------------------
>
> Key: CRUNCH-118
> URL: https://issues.apache.org/jira/browse/CRUNCH-118
> Project: Crunch
> Issue Type: Improvement
> Components: MapReduce Patterns
> Reporter: Josh Wills
> Attachments: CRUNCH-118.patch, CRUNCH-118v2.patch, CRUNCH-118v3.patch
>
>
> In my continuing effort to add functions that I like from Hive/Pig to Crunch,
> I'm proposing a) an Aggregator that behaves like Hive's collect_set() UDAF
> and b) an o.a.c.lib.Distinct library for computing the distinct elements of a
> PCollection via a groupByKey operation.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira