Gopal V created HIVE-16100: ------------------------------ Summary: Dynamic Sorted Partition optimizer loses sibling operators Key: HIVE-16100 URL: https://issues.apache.org/jira/browse/HIVE-16100 Project: Hive Issue Type: Bug Components: Query Planning Reporter: Gopal V
https://github.com/apache/hive/blob/master/ql/src/java/org/apache/hadoop/hive/ql/optimizer/SortedDynPartitionOptimizer.java#L173 {code} // unlink connection between FS and its parent fsParent = fsOp.getParentOperators().get(0); fsParent.getChildOperators().clear(); {code} The optimizer discards any cases where the fsParent has another SEL child -- This message was sent by Atlassian JIRA (v6.3.15#6346)