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

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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: 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
        daijy 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
        daijy 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.
        Hide
        olgan Olga Natkovich added a comment -

        0.9 is all about improved error handling

        Show
        olgan Olga Natkovich added a comment - 0.9 is all about improved error handling

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development