[ https://issues.apache.org/jira/browse/PIG-2346?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Daniel Dai resolved PIG-2346. ----------------------------- Resolution: Fixed Hadoop Flags: Reviewed All tests pass. 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 6 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 generated 468 release audit warnings (more than the trunk's current 459 warnings). No new file added, ignore release audit warning. Patch committed to 0.9 branch, 0.10 branch and trunk. > TypeCastInsert should not insert Foreach if there is no as statement > -------------------------------------------------------------------- > > Key: PIG-2346 > URL: https://issues.apache.org/jira/browse/PIG-2346 > Project: Pig > Issue Type: Bug > Affects Versions: 0.9.1, 0.10, 0.11 > Reporter: Daniel Dai > Assignee: Daniel Dai > Fix For: 0.10, 0.9.2, 0.11 > > Attachments: PIG-2346-1.patch, PIG-2346-2.patch > > > Currently, TypeCastInsert always insert foreach statement below the loader. > But if the load statement doesn't have "as" clause, the foreach should not be > added. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira