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

        Santhosh Srinivasan created issue -
        Nigel Daley made changes -
        Field Original Value New Value
        Fix Version/s 1.0.0 [ 12313288 ]
        Nigel Daley made changes -
        Affects Version/s 0.2.0 [ 12313783 ]
        Affects Version/s 1.0.0 [ 12313288 ]
        Olga Natkovich made changes -
        Fix Version/s 0.8.0 [ 12314562 ]
        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
        Olga Natkovich made changes -
        Fix Version/s 0.9.0 [ 12315191 ]
        Fix Version/s 0.8.0 [ 12314562 ]
        Alan Gates made changes -
        Assignee Alan Gates [ alangates ]
        Alan Gates made changes -
        Assignee Alan Gates [ alangates ] Daniel Dai [ daijy ]
        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.
        Daniel Dai made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Olga Natkovich made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Resolved Resolved
        726d 23h 6m 1 Daniel Dai 13/Jan/11 00:49
        Resolved Resolved Closed Closed
        202d 23h 45m 1 Olga Natkovich 04/Aug/11 01:34

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development