Pig
  1. Pig
  2. PIG-3021

Split results missing records when there is null values in the column comparison

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 0.10.0
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      Suppose a(x, y)

      split a into b if x==y, c otherwise;

      One will expect the union of b and c will be a. However, if x or y is null, the record won't appear in either b or c.

      To workaround this, I have to change to the following:
      split a into b if x is not null and y is not null and x==y, c otherwise;

      1. PIG-3021.patch
        9 kB
        Cheolsoo Park
      2. PIG-3021-2.patch
        9 kB
        Cheolsoo Park
      3. PIG-3021-3.patch
        14 kB
        Cheolsoo Park

        Activity

        Chang Luo created issue -
        Cheolsoo Park made changes -
        Field Original Value New Value
        Assignee Cheolsoo Park [ cheolsoo ]
        Cheolsoo Park made changes -
        Attachment PIG-3021.patch [ 12589607 ]
        Cheolsoo Park made changes -
        Attachment PIG-3021-2.patch [ 12589711 ]
        Cheolsoo Park made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Fix Version/s 0.12 [ 12323380 ]
        Cheolsoo Park made changes -
        Status Patch Available [ 10002 ] Open [ 1 ]
        Cheolsoo Park made changes -
        Attachment PIG-3021-3.patch [ 12591144 ]
        Cheolsoo Park made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Cheolsoo Park made changes -
        Fix Version/s 0.13.0 [ 12324971 ]
        Fix Version/s 0.12.0 [ 12323380 ]
        Cheolsoo Park made changes -
        Status Patch Available [ 10002 ] Open [ 1 ]
        Aniket Mokashi made changes -
        Fix Version/s 0.14.0 [ 12326954 ]
        Fix Version/s 0.13.0 [ 12324971 ]
        Cheolsoo Park made changes -
        Assignee Cheolsoo Park [ cheolsoo ]
        Fix Version/s 0.14.0 [ 12326954 ]

          People

          • Assignee:
            Unassigned
            Reporter:
            Chang Luo
          • Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

            • Created:
              Updated:

              Development