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 <
swagatikat...@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
>

Reply via email to