Pig, mail # user - RE: Ideas for data processing - 2014-02-04, 17:58
 Search Hadoop and all its subprojects:

Switch to Threaded View
Copy link to this message
RE: Ideas for data processing
Sameer, did you check out the TOMAP function in the documentation?  The example is close to yours.  I think with a nested FOREACH in combination with TOMAP and you'd get there, though I haven't tried it myself.

Steve Bernstein

408.499.0961 MOBILE

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