load with schema followed by explain gives and exception
--------------------------------------------------------

                 Key: PIG-448
                 URL: https://issues.apache.org/jira/browse/PIG-448
             Project: Pig
          Issue Type: Bug
    Affects Versions: types_branch
            Reporter: Pradeep Kamath
            Assignee: Pradeep Kamath
             Fix For: types_branch


grunt> a = load 'st10k' as (name:chararray, age:int, gpa:float);
grunt> explain a;                                               
2008-09-22 16:40:55,559 [main] ERROR org.apache.pig.tools.grunt.GruntParser - 
java.io.IOException: Unable to explain alias a [null]
        at org.apache.pig.PigServer.explain(PigServer.java:476)
        at 
org.apache.pig.tools.grunt.GruntParser.processExplain(GruntParser.java:154)
        at 
org.apache.pig.tools.pigscript.parser.PigScriptParser.parse(PigScriptParser.java:186)
        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)
Caused by: java.lang.NullPointerException
        ... 6 more

2008-09-22 16:40:55,560 [main] ERROR org.apache.pig.tools.grunt.GruntParser - 
Unable to explain alias a [null]
2008-09-22 16:40:55,560 [main] ERROR org.apache.pig.tools.grunt.GruntParser - 
java.io.IOException: Unable to explain alias a [null]
grunt> 


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

Reply via email to