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

Util.getSchemaFromString fails with java.lang.NullPointerException when a tuple in a bag has no name (as when used in MongoStorage UDF)

    Details

    • Hadoop Flags:
      Reviewed

      Description

      The MongoStorage UDF ( https://github.com/mongodb/mongo-hadoop ) fails on its call to Util.getSchemaFromString when a tuple is not named. The call succeeds when the tuple is explicitly named. As tuple naming is optional, this is a bug.

      See http://www.mail-archive.com/user%40pig.apache.org/msg04199.html and http://www.mail-archive.com/dev%40pig.apache.org/msg08016.html

      This makes me sad

        Attachments

        1. PIG-2509-0.patch
          2 kB
          Jonathan Coveney

          Activity

            People

            • Assignee:
              jcoveney Jonathan Coveney
              Reporter:
              russell.jurney Russell Jurney
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: