hadoop-pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Olga Natkovich (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (PIG-407) Explain followed by Describe throws exception
Date Fri, 12 Sep 2008 18:58:44 GMT

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

Olga Natkovich resolved PIG-407.
--------------------------------

    Resolution: Fixed

patch committed, thanks, pradeep

> Explain followed by Describe throws exception
> ---------------------------------------------
>
>                 Key: PIG-407
>                 URL: https://issues.apache.org/jira/browse/PIG-407
>             Project: Pig
>          Issue Type: Bug
>          Components: impl
>    Affects Versions: types_branch
>            Reporter: Santhosh Srinivasan
>            Assignee: Pradeep Kamath
>             Fix For: types_branch
>
>         Attachments: PIG-407.patch
>
>
> {code}
> A = load '/user/sms/data/student.data' using PigStorage(' ') as (name: chararray, age:
int, gpa: float);
> B = group A by $1;
> C = foreach B{ D = order A by $0; generate D; }
> describe C;
> describe B;
> explain C;
> describe B;
> 56335 [main] ERROR org.apache.pig.tools.grunt.GruntParser  - java.lang.NullPointerException
>         at org.apache.pig.impl.logicalLayer.LOVisitor.visit(LOVisitor.java:121)
>         at org.apache.pig.impl.logicalLayer.PlanSetter.visit(PlanSetter.java:58)
>         at org.apache.pig.impl.logicalLayer.LOCogroup.visit(LOCogroup.java:262)
>         at org.apache.pig.impl.logicalLayer.LOCogroup.visit(LOCogroup.java:39)
>         at org.apache.pig.impl.plan.DepthFirstWalker.depthFirst(DepthFirstWalker.java:65)
>         at org.apache.pig.impl.plan.DepthFirstWalker.depthFirst(DepthFirstWalker.java:67)
>         at org.apache.pig.impl.plan.DepthFirstWalker.walk(DepthFirstWalker.java:50)
>         at org.apache.pig.impl.plan.PlanVisitor.visit(PlanVisitor.java:51)
>         at org.apache.pig.PigServer.compileLp(PigServer.java:549)
>         at org.apache.pig.PigServer.dumpSchema(PigServer.java:285)
>         at org.apache.pig.tools.grunt.GruntParser.processDescribe(GruntParser.java:149)
>         at org.apache.pig.tools.pigscript.parser.PigScriptParser.parse(PigScriptParser.java:181)
>         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:282)
> {code}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message