use of org.apache.calcite.rel.logical.LogicalRepeatUnion in project Mycat2 by MyCATApache.
the class MycatRepeatUnionRule method convert.
@Override
public RelNode convert(RelNode rel) {
LogicalRepeatUnion union = (LogicalRepeatUnion) rel;
RelTraitSet traitSet = union.getTraitSet().replace(out);
RelNode seedRel = union.getSeedRel();
RelNode iterativeRel = union.getIterativeRel();
return new MycatRepeatUnion(rel.getCluster(), traitSet, convert(seedRel, seedRel.getTraitSet().replace(out)), convert(iterativeRel, iterativeRel.getTraitSet().replace(out)), union.all, union.iterationLimit);
}
Aggregations