*/
public RelOptPredicateList getPredicates(UnionRelBase union) {
RexBuilder rB = union.getCluster().getRexBuilder();
List<RexNode> orList = Lists.newArrayList();
for (RelNode input : union.getInputs()) {
RelOptPredicateList info = RelMetadataQuery.getPulledUpPredicates(input);
if (!info.pulledUpPredicates.isEmpty()) {
orList.addAll(
RelOptUtil.disjunctions(
RexUtil.composeConjunction(rB, info.pulledUpPredicates,
false)));