Uploaded image for project: 'Pig'
  1. Pig
  2. PIG-448

load with schema followed by explain gives and exception

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.2.0
    • 0.2.0
    • None
    • None

    Description

      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>

      Attachments

        1. PIG-448.patch
          1 kB
          Pradeep Kamath

        Activity

          People

            pkamath Pradeep Kamath
            pkamath Pradeep Kamath
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: