Pig
  1. Pig
  2. PIG-621

Casts swallow exceptions when there are issues with conversion of bytes to Pig types

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.2.0
    • Fix Version/s: 0.9.0
    • Component/s: None
    • Labels:
      None

      Description

      In the current implementation of casts, exceptions thrown while converting bytes to Pig types are swallowed. Pig needs to either return NULL or rethrow the exception.

        Activity

        Hide
        Olga Natkovich added a comment -

        0.9 is all about improved error handling

        Show
        Olga Natkovich added a comment - 0.9 is all about improved error handling
        Hide
        Daniel Dai added a comment -

        The behavior of current code is: if we cannot cast bytearray to real type, log a warning, and increase the counter. Seems we are doing the right thing. Close the Jira.

        Show
        Daniel Dai added a comment - The behavior of current code is: if we cannot cast bytearray to real type, log a warning, and increase the counter. Seems we are doing the right thing. Close the Jira.

          People

          • Assignee:
            Daniel Dai
            Reporter:
            Santhosh Srinivasan
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development