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.
SB

______________________
Steve Bernstein
VP/Analytics

408.499.0961 MOBILE
deem.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