[
https://issues.apache.org/jira/browse/PIG-352?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Olga Natkovich resolved PIG-352.
--------------------------------
Resolution: Fixed
pathc committed. santhosh, thanks for contributing!
> java.lang.ClassCastException when invalid field is accessed
> -----------------------------------------------------------
>
> Key: PIG-352
> URL: https://issues.apache.org/jira/browse/PIG-352
> Project: Pig
> Issue Type: Bug
> Affects Versions: types_branch
> Reporter: Olga Natkovich
> Fix For: types_branch
>
> Attachments: out_of_bound_schema_access.patch
>
>
> grunt> A = load 'foo' as (a, b, c);
> grunt> B = foreach A generate $5;
> 2008-07-31 16:25:13,847 [main] ERROR org.apache.pig.tools.grunt.GruntParser -
> java.lang.ClassCastException:
> org.apache.pig.impl.logicalLayer.FrontendException
> at
> org.apache.pig.impl.logicalLayer.parser.QueryParser.Parse(QueryParser.java:454)
> at
> org.apache.pig.impl.logicalLayer.LogicalPlanBuilder.parse(LogicalPlanBuilder.java:60)
> at org.apache.pig.PigServer.registerQuery(PigServer.java:248)
> at
> org.apache.pig.tools.grunt.GruntParser.processPig(GruntParser.java:425)
> at
> org.apache.pig.tools.pigscript.parser.PigScriptParser.parse(PigScriptParser.java:241)
> at
> org.apache.pig.tools.grunt.GruntParser.parseContOnError(GruntParser.java:92)
> at org.apache.pig.tools.grunt.Grunt.run(Grunt.java:58)
> at org.apache.pig.Main.main(Main.java:278)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.