public RelOptPredicateList getPredicates(JoinRelBase join) {
RexBuilder rB = join.getCluster().getRexBuilder();
RelNode left = join.getInput(0);
RelNode right = join.getInput(1);
RelOptPredicateList leftInfo =
RelMetadataQuery.getPulledUpPredicates(left);
RelOptPredicateList rightInfo =
RelMetadataQuery.getPulledUpPredicates(right);
JoinConditionBasedPredicateInference jI =
new JoinConditionBasedPredicateInference(join,
RexUtil.composeConjunction(rB, leftInfo.pulledUpPredicates, false),