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

Return more information for parsing related exceptions.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.12.0
    • None
    • None
    • Reviewed
    • Hide
      Improves Pig exception handling by:
      * Adding the SourceLocation (line and column numbers) to parsing exceptions
      * Adding a new exception class for undefined parameters with details of the error.
      * Add the top level exception Pig threw to the PigStats object for analysis after the run finishes.
      Show
      Improves Pig exception handling by: * Adding the SourceLocation (line and column numbers) to parsing exceptions * Adding a new exception class for undefined parameters with details of the error. * Add the top level exception Pig threw to the PigStats object for analysis after the run finishes.

    Description

      There are a number of places in the Pig code where information useful for debugging parsing problems is being buried. This patch tries to expose that information by passing it up all the way to the Main run method and attaching it to the PigStats object.

      Attachments

        1. PIG-3431.patch
          27 kB
          Jeremy Karn
        2. PIG-3431-2.patch
          27 kB
          Jeremy Karn
        3. PIG-3431-3.patch
          32 kB
          Jeremy Karn

        Activity

          People

            jeremykarn Jeremy Karn
            jeremykarn Jeremy Karn
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: