[ https://issues.apache.org/jira/browse/PIG-1751?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12967058#action_12967058 ]
Daniel Dai commented on PIG-1751: --------------------------------- test-patch: [exec] +1 overall. [exec] [exec] +1 @author. The patch does not contain any @author tags. [exec] [exec] +1 tests included. The patch appears to include 3 new or modified tests. [exec] [exec] +1 javadoc. The javadoc tool did not generate any warning messages. [exec] [exec] +1 javac. The applied patch does not increase the total number of javac compiler warnings. [exec] [exec] +1 findbugs. The patch does not introduce any new Findbugs warnings. [exec] [exec] +1 release audit. The applied patch does not increase the total number of release audit warnings. Unit test: pass end-to-end test: pass > New logical plan: PushDownForEachFlatten fail in UDF with unknown output > schema > ------------------------------------------------------------------------------- > > Key: PIG-1751 > URL: https://issues.apache.org/jira/browse/PIG-1751 > Project: Pig > Issue Type: Bug > Components: impl > Affects Versions: 0.8.0 > Reporter: Daniel Dai > Assignee: Daniel Dai > Fix For: 0.8.0 > > Attachments: PIG-1751-1.patch > > > The following script fail: > {code} > a = load '1.txt' as (a0:chararray); > b = load '2.txt' as (b0:chararray); > c = foreach b generate flatten(STRSPLIT(b0)) as c0; > d = join c by c0, a by a0; > dump d; > {code} > Error message: > Caused by: java.lang.NullPointerException > at > org.apache.pig.newplan.logical.rules.PushDownForEachFlatten$PushDownForEachFlattenTransformer.getNonFlattenFieldUids(PushDownForEachFlatten.java:186) > at > org.apache.pig.newplan.logical.rules.PushDownForEachFlatten$PushDownForEachFlattenTransformer.check(PushDownForEachFlatten.java:101) > at > org.apache.pig.newplan.optimizer.PlanOptimizer.optimize(PlanOptimizer.java:108) > ... 13 more -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.