thanks!

On Mon, Mar 12, 2012 at 11:36 AM, Jonathan Coveney <[email protected]>wrote:

> It is restricted to the pig types, yes. You could serializize it to a
> DataByteArray and manually manage that, or you could just convert it to a
> databag, or you could make it a hashmap with null values, or a tuple... but
> yeah.
>
> 2012/3/12 Yang <[email protected]>
>
> > I tried to return a Set<String> from my UDF, but it seems to give some
> > problems.
> >
> > what are the allowed return data types in UDF?
> >
> > is it constrained to those in the "Pig Types" section in
> > http://wiki.apache.org/pig/UDFManual  ?
> >
> > thanks
> > Yang
> >
>

Reply via email to