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

describe fails if schema is not specified

    XMLWordPrintableJSON

Details

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

    Description

      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)

      Attachments

        1. PIG-372.patch
          0.7 kB
          Alan Gates

        Activity

          People

            gates Alan Gates
            olgan Olga Natkovich
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: