-Re: in statement
praveenesh kumar 2012-05-25, 10:29
Write a UDF that takes tuples/bag as input. Then do whatever processing you
want to do with the values inside the bag/tuple. Look how COUNT/SUM UDF is
written, you will get better picture.
On Fri, May 25, 2012 at 3:17 PM, Fabian Alenius <[EMAIL PROTECTED]>wrote:
> lets say I have a large tuple or a bag and I want to see if one of the
> fields match a string. How would one do that?
> Similarly how do you apply a function to all the fields in a tuple?