[ https://issues.apache.org/jira/browse/PIG-3679?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14012836#comment-14012836 ]
Aniket Mokashi commented on PIG-3679: ------------------------------------- I tried fix as per Daniel's suggestion (PIG-3739), I have attached PIG-3679-backward-compatibility.patch with fix. [~daijy] can you check e2e after this fix? Results of manual testing- Old counters (with pig11) || Group || Name || Map || Reduce || Total || |org.apache.pig.PigWarning |UDF_WARNING_3 | 10989| 0| 10989| |org.apache.pig.PigWarning |UDF_WARNING_4 |22 |0| 22| New counters (with the fix) New counters || Group || Name || Map || Reduce || Total || |org.apache.pig.test.udf.evalfunc.TestWarningFunc | UDF_WARNING_3| 10989 | 0 | 10989| |org.apache.pig.test.udf.evalfunc.TestWarningFunc | UDF_WARNING_4 | 22| 0 | 22| > e2e StreamingPythonUDFs_10 fails in trunk > ----------------------------------------- > > Key: PIG-3679 > URL: https://issues.apache.org/jira/browse/PIG-3679 > Project: Pig > Issue Type: Bug > Reporter: Cheolsoo Park > Assignee: Cheolsoo Park > Fix For: 0.13.0 > > Attachments: PIG-3679-1.patch, PIG-3679-2.patch, PIG-3679-3.patch, > PIG-3679-4.patch, PIG-3679-5.patch, PIG-3679-6.patch, PIG-3679-7.patch, > PIG-3679-backward-compatibility.patch > > > The e2e test StreamingPythonUDFs_10 fails in trunk with NPE- > {code} > Caused by: java.lang.NullPointerException > at org.apache.pig.builtin.DoubleRound.exec(DoubleRound.java:45) > {code} > The test query is as follows- > {code} > 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'; > {code} -- This message was sent by Atlassian JIRA (v6.2#6252)