Home | About | Sematext search-lucene.com search-hadoop.com
 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
william.dowling@... 2011-04-07, 15:52
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