use of org.apache.kylin.query.relnode.OLAPUnionRel in project kylin by apache.
the class OLAPUnionRule method convert.
@Override
public RelNode convert(RelNode rel) {
final Union union = (Union) rel;
final RelTraitSet traitSet = union.getTraitSet().replace(OLAPRel.CONVENTION);
final List<RelNode> inputs = union.getInputs();
return new OLAPUnionRel(rel.getCluster(), traitSet, convertList(inputs, OLAPRel.CONVENTION), union.all);
}
Aggregations