letsflyinthesky commented on a change in pull request #1322: URL: https://github.com/apache/hive/pull/1322#discussion_r461344354
########## File path: ql/src/java/org/apache/hadoop/hive/ql/ppd/OpProcFactory.java ########## @@ -417,9 +417,17 @@ public Object process(Node nd, Stack<Node> stack, NodeProcessorCtx procCtx, if (!ewi.isDeterministic()) { /* predicate is not deterministic */ if (op.getChildren() != null && op.getChildren().size() == 1) { + ExprWalkerInfo prunedPreds = owi.getPrunedPreds((Operator<? extends OperatorDesc>) (op + .getChildren().get(0))); + //resolve of HIVE-23893 + if (!(prunedPreds != null && prunedPreds.hasAnyCandidates()) Review comment: I have remove redundant condition and take into account child preds which will be merge into new deterministic filter preds ---------------------------------------------------------------- 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. 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