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

-----Original Message-----
From: Sachin Sudarshana <[email protected]>
Date: Fri, 1 Mar 2013 22:16:37 
To: <[email protected]>
Reply-To: [email protected]
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

Reply via email to