Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
0.2.0
-
None
-
None
-
Patch Available
Description
Script:
A = load 'data' as (name, age, gpa);
B = group A by name;
C = foreach B
store C into 'ciemo_4';
Error:
08/09/08 17:25:48 ERROR pig.PigServer: Problem resolving LOForEach schema org.apache.pig.builtin.MAX does not work with inputs of type
{age: bytearray}08/09/08 17:25:48 ERROR pig.PigServer: Severe problem found during validation org.apache.pig.impl.plan.PlanValidationException: An unexpected exception caused the validation to stop
08/09/08 17:25:48 ERROR grunt.GruntParser: java.io.IOException: Unable to store for alias: 12 [Problem resolving LOForEach schema org.apache.pig.builtin.MAX does not work with inputs of type
Severe problem found during validation org.apache.pig.impl.plan.PlanValidationException: An unexpected exception caused the validation to stop]
at org.apache.pig.PigServer.compileLp(PigServer.java:606)
at org.apache.pig.PigServer.compileLp(PigServer.java:547)
at org.apache.pig.PigServer.execute(PigServer.java:533)
at org.apache.pig.PigServer.registerQuery(PigServer.java:283)
at org.apache.pig.tools.grunt.GruntParser.processPig(GruntParser.java:432)
at org.apache.pig.tools.pigscript.parser.PigScriptParser.parse(PigScriptParser.java:242)
at org.apache.pig.tools.grunt.GruntParser.parseContOnError(GruntParser.java:93)
at org.apache.pig.tools.grunt.Grunt.run(Grunt.java:58)
at org.apache.pig.Main.main(Main.java:282)