Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Pig, mail # user - jython udfs


Copy link to this message
-
Re: jython udfs
Stan Rosenberg 2011-10-13, 19:46
On Thu, Oct 13, 2011 at 11:52 AM, Norbert Burger
<[EMAIL PROTECTED]> wrote:
> Also the output schema for dummy3() doesn't match what's being returned.
>  You're returning a list of strings, but the outputschema specifies a bag,
> which translates into a list of tuples (of something, eg. strings).
>

Part of my question was whether a list of individuals (in python) has
a corresponding type in pig.  I now see that it doesn't.  Instead,  it
must be converted to a list of tuples.