-Re: Finding maximum across a row
bejoy_ks@... 2013-03-01, 16:52
AFAIK There isn't one at the moment. But you can easily achieve this using a custom UDF.
Sent from remote device, Please excuse typos
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
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
Its urgently required. Any help would be greatly appreciated!
Thanks and Regards,