You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Pradeep Kamath (JIRA)" <ji...@apache.org> on 2008/09/23 01:42:44 UTC

[jira] Created: (PIG-448) load with schema followed by explain gives and exception

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.


[jira] Resolved: (PIG-448) load with schema followed by explain gives and exception

Posted by "Olga Natkovich (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PIG-448?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Olga Natkovich resolved PIG-448.
--------------------------------

    Resolution: Fixed

patch committed. thanks, pradeep

> 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
>
>         Attachments: PIG-448.patch
>
>
> 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.


[jira] Updated: (PIG-448) load with schema followed by explain gives and exception

Posted by "Pradeep Kamath (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PIG-448?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pradeep Kamath updated PIG-448:
-------------------------------

    Attachment: PIG-448.patch

Attached patch

> 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
>
>         Attachments: PIG-448.patch
>
>
> 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.