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 >> Projecting on a pair of columns inside FOREACH() gives error 2213


Copy link to this message
-
RE: Projecting on a pair of columns inside FOREACH() gives error 2213
Clarification: the error results after
 dump AA;

The foreach{...} definition itself is not throwing the error.

William F Dowling
Sr Technical Specialist, Software Engineering
Thomson Reuters
0 +1 215 823 3853

[...]

AA = foreach TCGroupedByFuid {
        FA = TCRaw.(NewCitationRel::citingdocid, NewCitationRel::col);
        generate group, FA;};

But that results in this error:
   ERROR org.apache.pig.tools.grunt.Grunt - ERROR 2213: Error visiting inner plan for ForEach

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