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

e2e StreamingPythonUDFs_10 fails in trunk

    Details

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

      Description

      The e2e test StreamingPythonUDFs_10 fails in trunk with NPE-

      Caused by: java.lang.NullPointerException
              at org.apache.pig.builtin.DoubleRound.exec(DoubleRound.java:45)
      

      The test query is as follows-

      a = load '/user/pig/tests/data/singlefile/allscalar10k' using PigStorage() as (name:chararray, age:int, gpa:double, instate:chararray);
      b = foreach a generate name, ((double)ROUND((instate=='true'?gpa:gpa+1)*10000)) / 10000.0;
      store b into '/user/pig/out/cheolsoop-1390330024-nightly.conf-StreamingPythonUDFs/StreamingPythonUDFs_10_benchmark.out';
      

        Attachments

        1. PIG-3679-1.patch
          1 kB
          Cheolsoo Park
        2. PIG-3679-2.patch
          3 kB
          Cheolsoo Park
        3. PIG-3679-3.patch
          0.9 kB
          Daniel Dai
        4. PIG-3679-4.patch
          2 kB
          Cheolsoo Park
        5. PIG-3679-5.patch
          3 kB
          Cheolsoo Park
        6. PIG-3679-6.patch
          4 kB
          Cheolsoo Park
        7. PIG-3679-7.patch
          5 kB
          Cheolsoo Park
        8. PIG-3679-backward-compatibility.patch
          1 kB
          Aniket Mokashi

          Issue Links

            Activity

              People

              • Assignee:
                cheolsoo Cheolsoo Park
                Reporter:
                cheolsoo Cheolsoo Park
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: