[ https://issues.apache.org/jira/browse/PIG-5165?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15985876#comment-15985876 ]
liyunzhang_intel commented on PIG-5165: --------------------------------------- [~szita]: commit to spark branch, thanks! for the question {quote} Is there any reason why we're sorting the leaves of a plan in-place instead of taking a copy of them and then doing it [here|https://github.com/apache/pig/blob/trunk/src/org/apache/pig/backend/hadoop/executionengine/physicalLayer/plans/PlanPrinter.java#L137]? {quote} yes, i am also very curious about this, if the result of $${mPlan.getLeaves()}} is sorted by OperatorKey, we can remove some Collections.sort(leaves) operations. > MultiQuery_Union_7 is failing with spark exec type > -------------------------------------------------- > > Key: PIG-5165 > URL: https://issues.apache.org/jira/browse/PIG-5165 > Project: Pig > Issue Type: Sub-task > Components: spark > Reporter: Nandor Kollar > Assignee: Adam Szita > Fix For: spark-branch > > Attachments: PIG-5165.0.patch > > > 1st output is fine, 2nd is different -- This message was sent by Atlassian JIRA (v6.3.15#6346)