kasakrisz commented on code in PR #5196: URL: https://github.com/apache/hive/pull/5196#discussion_r1665341544
########## ql/src/java/org/apache/hadoop/hive/ql/optimizer/calcite/HiveCalciteUtil.java: ########## @@ -656,7 +658,9 @@ public static ImmutableList<RexNode> getPredsNotPushedAlready(Set<String> predic } // Build map to not convert multiple times, further remove already included predicates Map<String,RexNode> stringToRexNode = Maps.newLinkedHashMap(); + RexSimplify simplify = new RexSimplify(inp.getCluster().getRexBuilder(), RelOptPredicateList.EMPTY, RexUtil.EXECUTOR); for (RexNode r : predsToPushDown) { + r = simplify.simplify(r); Review Comment: Which tests can be used to repro the StackOverflow? -- 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