You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Olga Natkovich (JIRA)" <ji...@apache.org> on 2008/08/12 20:07:44 UTC

[jira] Created: (PIG-372) describe fails if schema is not specified

describe fails if schema is not specified
-----------------------------------------

                 Key: PIG-372
                 URL: https://issues.apache.org/jira/browse/PIG-372
             Project: Pig
          Issue Type: Bug
    Affects Versions: types_branch
            Reporter: Olga Natkovich
             Fix For: types_branch


a = LOAD 'foo' USING PigStorage();
DESCRIBE a;

java.lang.NullPointerException
        at org.apache.pig.PigServer.dumpSchema(PigServer.java:286)
        at org.apache.pig.tools.grunt.GruntParser.processDescribe(GruntParser.java:149)
        at org.apache.pig.tools.pigscript.parser.PigScriptParser.parse(PigScriptParser.java:180)
        at org.apache.pig.tools.grunt.GruntParser.parseStopOnError(GruntParser.java:82)
        at org.apache.pig.tools.grunt.Grunt.exec(Grunt.java:64)
        at org.apache.pig.Main.main(Main.java:302)



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


[jira] Updated: (PIG-372) describe fails if schema is not specified

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

Alan Gates updated PIG-372:
---------------------------

    Attachment: PIG-372.patch

Added check that a schema exists before trying to print it.

> describe fails if schema is not specified
> -----------------------------------------
>
>                 Key: PIG-372
>                 URL: https://issues.apache.org/jira/browse/PIG-372
>             Project: Pig
>          Issue Type: Bug
>    Affects Versions: types_branch
>            Reporter: Olga Natkovich
>            Assignee: Alan Gates
>             Fix For: types_branch
>
>         Attachments: PIG-372.patch
>
>
> a = LOAD 'foo' USING PigStorage();
> DESCRIBE a;
> java.lang.NullPointerException
>         at org.apache.pig.PigServer.dumpSchema(PigServer.java:286)
>         at org.apache.pig.tools.grunt.GruntParser.processDescribe(GruntParser.java:149)
>         at org.apache.pig.tools.pigscript.parser.PigScriptParser.parse(PigScriptParser.java:180)
>         at org.apache.pig.tools.grunt.GruntParser.parseStopOnError(GruntParser.java:82)
>         at org.apache.pig.tools.grunt.Grunt.exec(Grunt.java:64)
>         at org.apache.pig.Main.main(Main.java:302)

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


[jira] Assigned: (PIG-372) describe fails if schema is not specified

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

Olga Natkovich reassigned PIG-372:
----------------------------------

    Assignee: Alan Gates  (was: Santhosh Srinivasan)

> describe fails if schema is not specified
> -----------------------------------------
>
>                 Key: PIG-372
>                 URL: https://issues.apache.org/jira/browse/PIG-372
>             Project: Pig
>          Issue Type: Bug
>    Affects Versions: types_branch
>            Reporter: Olga Natkovich
>            Assignee: Alan Gates
>             Fix For: types_branch
>
>
> a = LOAD 'foo' USING PigStorage();
> DESCRIBE a;
> java.lang.NullPointerException
>         at org.apache.pig.PigServer.dumpSchema(PigServer.java:286)
>         at org.apache.pig.tools.grunt.GruntParser.processDescribe(GruntParser.java:149)
>         at org.apache.pig.tools.pigscript.parser.PigScriptParser.parse(PigScriptParser.java:180)
>         at org.apache.pig.tools.grunt.GruntParser.parseStopOnError(GruntParser.java:82)
>         at org.apache.pig.tools.grunt.Grunt.exec(Grunt.java:64)
>         at org.apache.pig.Main.main(Main.java:302)

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


[jira] Assigned: (PIG-372) describe fails if schema is not specified

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

Olga Natkovich reassigned PIG-372:
----------------------------------

    Assignee: Santhosh Srinivasan

> describe fails if schema is not specified
> -----------------------------------------
>
>                 Key: PIG-372
>                 URL: https://issues.apache.org/jira/browse/PIG-372
>             Project: Pig
>          Issue Type: Bug
>    Affects Versions: types_branch
>            Reporter: Olga Natkovich
>            Assignee: Santhosh Srinivasan
>             Fix For: types_branch
>
>
> a = LOAD 'foo' USING PigStorage();
> DESCRIBE a;
> java.lang.NullPointerException
>         at org.apache.pig.PigServer.dumpSchema(PigServer.java:286)
>         at org.apache.pig.tools.grunt.GruntParser.processDescribe(GruntParser.java:149)
>         at org.apache.pig.tools.pigscript.parser.PigScriptParser.parse(PigScriptParser.java:180)
>         at org.apache.pig.tools.grunt.GruntParser.parseStopOnError(GruntParser.java:82)
>         at org.apache.pig.tools.grunt.Grunt.exec(Grunt.java:64)
>         at org.apache.pig.Main.main(Main.java:302)

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


[jira] Updated: (PIG-372) describe fails if schema is not specified

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

Alan Gates updated PIG-372:
---------------------------

    Status: Patch Available  (was: Open)

> describe fails if schema is not specified
> -----------------------------------------
>
>                 Key: PIG-372
>                 URL: https://issues.apache.org/jira/browse/PIG-372
>             Project: Pig
>          Issue Type: Bug
>    Affects Versions: types_branch
>            Reporter: Olga Natkovich
>            Assignee: Alan Gates
>             Fix For: types_branch
>
>         Attachments: PIG-372.patch
>
>
> a = LOAD 'foo' USING PigStorage();
> DESCRIBE a;
> java.lang.NullPointerException
>         at org.apache.pig.PigServer.dumpSchema(PigServer.java:286)
>         at org.apache.pig.tools.grunt.GruntParser.processDescribe(GruntParser.java:149)
>         at org.apache.pig.tools.pigscript.parser.PigScriptParser.parse(PigScriptParser.java:180)
>         at org.apache.pig.tools.grunt.GruntParser.parseStopOnError(GruntParser.java:82)
>         at org.apache.pig.tools.grunt.Grunt.exec(Grunt.java:64)
>         at org.apache.pig.Main.main(Main.java:302)

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


[jira] Updated: (PIG-372) describe fails if schema is not specified

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

Alan Gates updated PIG-372:
---------------------------

    Resolution: Fixed
        Status: Resolved  (was: Patch Available)

patch checked in.

> describe fails if schema is not specified
> -----------------------------------------
>
>                 Key: PIG-372
>                 URL: https://issues.apache.org/jira/browse/PIG-372
>             Project: Pig
>          Issue Type: Bug
>    Affects Versions: types_branch
>            Reporter: Olga Natkovich
>            Assignee: Alan Gates
>             Fix For: types_branch
>
>         Attachments: PIG-372.patch
>
>
> a = LOAD 'foo' USING PigStorage();
> DESCRIBE a;
> java.lang.NullPointerException
>         at org.apache.pig.PigServer.dumpSchema(PigServer.java:286)
>         at org.apache.pig.tools.grunt.GruntParser.processDescribe(GruntParser.java:149)
>         at org.apache.pig.tools.pigscript.parser.PigScriptParser.parse(PigScriptParser.java:180)
>         at org.apache.pig.tools.grunt.GruntParser.parseStopOnError(GruntParser.java:82)
>         at org.apache.pig.tools.grunt.Grunt.exec(Grunt.java:64)
>         at org.apache.pig.Main.main(Main.java:302)

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