Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Pig >> mail # user >> Percentile UDF

Copy link to this message
Re: Percentile UDF
On Thu, Mar 10, 2011 at 03:24:52PM +0000, Jonathan Holloway wrote:
> HI all,
> Does anybody have a UDF for calculating the percentile (median, 99%) at all?
>  I took a look at the builtins
> and the piggybank project, but couldn't seem to see anything.  Is there a
> reason why there isn't a builtin for
> this?

I think it would be because there's an inherently serial problem in
there (i.e. numbering each entry based on its place in the ordered


Kris Coward http://unripe.melon.org/
GPG Fingerprint: 2BF3 957D 310A FEEC 4733  830E 21A4 05C7 1FEB 12B3