Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Threaded View
Pig >> mail # user >> jython udfs


Copy link to this message
-
Re: jython udfs
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.
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB