Hi Franco, Hive percentile UDAF is added in the master branch. You can have a look at it. I think it would work like "select percentile(col_name, 1) from sigmoid_logs"
Thanks Best Regards On Thu, Nov 27, 2014 at 8:58 PM, Franco Barrientos < [email protected]> wrote: > Hi folks!, > > > > Anyone known how can I calculate for each elements of a variable in a RDD > its percentile? I tried to calculate trough Spark SQL with subqueries but I > think that is imposible in Spark SQL. Any idea will be welcome. > > > > Thanks in advance, > > > > *Franco Barrientos* > Data Scientist > > Málaga #115, Of. 1003, Las Condes. > Santiago, Chile. > (+562)-29699649 > (+569)-76347893 > > [email protected] > > www.exalitica.com > > [image: http://exalitica.com/web/img/frim.png] > > >
