hive-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Swagatika Tripathy <swagatikat...@gmail.com>
Subject Re: UDAF HELP
Date Sun, 18 Aug 2013 17:56:11 GMT
Hi,
i have a requirement to compare two different columns in 2 adjacent rows
and if values are equal, it should return a non zero value else should give
0 as result.

Please let me know how can we implement using UDAF(User Defined Aggregate
Function) in hive.

TIA.

Regards,
Swagtk


On Fri, Aug 16, 2013 at 11:43 PM, Swagatika Tripathy <
swagatikat856@gmail.com> wrote:

> Hi,
> i have a requirement to compare two different columns in 2 adjacent rows
> and if values are equal, it should return a non zero value else should give
> 0 as result.
>
> Please let me know how can we implement using UDAF(User Defined Aggregate
> Function) in hive.
>
> TIA.
>
> Regards,
> Swagatika
>

Mime
View raw message