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

If a .pig_schema file is present, can get an index out of bounds error

    XMLWordPrintableJSON

Details

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

    Description

      In the case that a .pig_schema file is present, if you have a record with fewer than expected fields, pig errors out with an index out of bounds exception that is annoying, unnecessary, and unhelpful.

      Instead of improving logging, I decided to just do what pig should do, which is fill in the records.

      Patch will include a test and the fix.

      Attachments

        1. PIG-3100-0.patch
          42 kB
          Jonathan Coveney
        2. PIG-3100-0_nows.patch
          5 kB
          Jonathan Coveney

        Issue Links

          Activity

            People

              jcoveney Jonathan Coveney
              jcoveney Jonathan Coveney
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: