able to take optimal partial decisions.
Any ideas to address this issue regarding optimization/approximation
techniques so that I need not keep all the elements to avoid scalability
issues?
Thanks,
Abhishek
-- Forwarded message --
From: Abhishek Bhattacharya
Date: Wed, Feb 13
s off the end of the array.
>
> Robin
>
>
> From: Abhishek Bhattacharya
> Reply-To: "user@hive.apache.org"
> Date: Tuesday, February 12, 2013 10:29 AM
> To: "user@hive.apache.org"
> Subject: Fwd: Help to solve UDAF errors!
>
>Hi,
>
> I l
:14,049 INFO org.apache.hadoop.mapred.Task: Runnning
cleanup for the task
--
Thanks,
Abhishek
-- Forwarded message --
From: Abhishek Bhattacharya
Date: Tue, Feb 12, 2013 at 12:48 PM
Subject: Re: Help to solve UDAF errors!
To: user@hive.apache.org
Hi
e comment at
> https://github.com/apache/hive/blob/trunk/ql/src/java/org/apache/hadoop/hive/ql/exec/UDAF.java#L22
> Those are all the methods your UDAF class needs to implement but you seem
> to be missing them.
>
> Mark
>
> On Sat, Feb 9, 2013 at 11:08 PM, Abhishek Bhattacha
e/hadoop/hive/ql/udf/UDAFPercentile.javafor
>>> reference. It has two terminate()'s - one for UDAF and one for the
>>> Evaluator.
>>>
>>> Do you mind posting your complete code on github somewhere so it's
>>> easier to analyze?
>>>
s easier
> to analyze?
>
> Mark
>
> On Fri, Feb 8, 2013 at 2:05 PM, Abhishek Bhattacharya wrote:
>
>> Hi,
>>
>> I have implemented a simple UDAF for top-n-percent as follows:
>> import java.util.ArrayList;
>> import java.util.Collections;
>>
>&
Hi,
I have implemented a simple UDAF for top-n-percent as follows:
import java.util.ArrayList;
import java.util.Collections;
import org.apache.hadoop.hive.ql.exec.UDAF;
import org.apache.hadoop.hive.ql.exec.UDAFEvaluator;
public class UDAFTopNPercent extends UDAF{
public static class Result