FAQ
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.

Search Discussions

  • Pradeep Kamath (JIRA) at Sep 23, 2008 at 12:49 am
    [ 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.
  • Olga Natkovich (JIRA) at Sep 23, 2008 at 12:59 am
    [ 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.

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupdev @
categoriespig, hadoop
postedSep 22, '08 at 11:43p
activeSep 23, '08 at 12:59a
posts3
users1
websitepig.apache.org

1 user in discussion

Olga Natkovich (JIRA): 3 posts

People

Translate

site design / logo © 2022 Grokbase