[ https://issues.apache.org/jira/browse/PIG-827?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alan Gates resolved PIG-827. ---------------------------- Resolution: Fixed The new optimizer and plan structure introduced in 0.7 cover this. > Redesign graph operations in OperatorPlan > ----------------------------------------- > > Key: PIG-827 > URL: https://issues.apache.org/jira/browse/PIG-827 > Project: Pig > Issue Type: Improvement > Components: impl > Affects Versions: 0.3.0 > Reporter: Santhosh Srinivasan > > The graph operations swap, insertBetween, pushBefore, etc. have to be > re-implemented in a layered fashion. The layering will facilitate the re-use > of operations. In addition, use of operator.rewire in the aforementioned > operations requires transaction like ability due to various pre-conditions. > Often, the result of one of the operations leaves the graph in an > inconsistent state for the rewire operation. Clear layering and assignment of > the ability to rewire will remove these inconsistencies. For now, use of > rewire has resulted in a slightly less maintainable code along with the > necessity to use rewire with discretion. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.