hive-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bejoy...@yahoo.com
Subject Re: Finding maximum across a row
Date Fri, 01 Mar 2013 17:13:54 GMT
Hi Sachin

You could get the detailed ateps from hive wiki itself

https://cwiki.apache.org/Hive/hiveplugins.html

Regards 
Bejoy KS

Sent from remote device, Please excuse typos

-----Original Message-----
From: Sachin Sudarshana <sachin.sudarshana@gmail.com>
Date: Fri, 1 Mar 2013 22:37:54 
To: <user@hive.apache.org>; <bejoy_ks@yahoo.com>
Reply-To: user@hive.apache.org
Subject: Re: Finding maximum across a row

Hi Bejoy,

I am new to UDF in Hive. Could you send me any link/tutorials on where i
can be able to learn about writing the UDF?

Thanks!

On Fri, Mar 1, 2013 at 10:22 PM, <bejoy_ks@yahoo.com> wrote:

> **
> Hi Sachin
>
> AFAIK There isn't one at the moment. But you can easily achieve this using
> a custom UDF.
> Regards
> Bejoy KS
>
> Sent from remote device, Please excuse typos
> ------------------------------
> *From: * Sachin Sudarshana <sachin.sudarshana@gmail.com>
> *Date: *Fri, 1 Mar 2013 22:16:37 +0530
> *To: *<user@hive.apache.org>
> *ReplyTo: * user@hive.apache.org
> *Subject: *Finding maximum across a row
>
> Hi,
>
> Is there any function/method to find the maximum across a row in hive?
>
> Suppose i have a table like this:
>
> ColA   ColB   ColC
> 2          5          7
> 3          2          1
>
> I want the function to return
>
> 7
> 1
>
>
> Its urgently required. Any help would be greatly appreciated!
>
>
>
> --
> Thanks and Regards,
>                 Sachin Sudarshana
>



-- 
Thanks and Regards,
                Sachin Sudarshana

Mime
View raw message