ngsg commented on code in PR #5423: URL: https://github.com/apache/hive/pull/5423#discussion_r1824357697
########## ql/src/java/org/apache/hadoop/hive/ql/optimizer/UnionDistinctMerger.java: ########## @@ -63,10 +75,10 @@ public Object process(Node nd, Stack<Node> stack, NodeProcessorCtx procCtx, // The stack contains at least 8 operators, UNION-GBY-RS-GBY-UNION-GBY-RS-GBY. // The leftmost UNION is on stack.size() - 8 and the rightmost GBY is on stack.size() - 1. - Collection<Operator> allOps = context.pCtx.getAllOps(); + HashSet<Operator> allOps = new HashSet<>(context.pCtx.getAllOps()); Review Comment: fixed -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: gitbox-unsubscr...@hive.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: gitbox-unsubscr...@hive.apache.org For additional commands, e-mail: gitbox-h...@hive.apache.org