You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Alan Gates (JIRA)" <ji...@apache.org> on 2009/11/12 05:19:39 UTC

[jira] Assigned: (PIG-352) java.lang.ClassCastException when invalid field is accessed

     [ https://issues.apache.org/jira/browse/PIG-352?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alan Gates reassigned PIG-352:
------------------------------

    Assignee: Santhosh Srinivasan

> 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: 0.2.0
>            Reporter: Olga Natkovich
>            Assignee: Santhosh Srinivasan
>             Fix For: 0.2.0
>
>         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.