use of org.apache.calcite.rel.logical.LogicalMinus in project calcite by apache.
the class EnumerableMinusRule method convert.
public RelNode convert(RelNode rel) {
final LogicalMinus minus = (LogicalMinus) rel;
if (minus.all) {
// EXCEPT ALL not implemented
return null;
}
final EnumerableConvention out = EnumerableConvention.INSTANCE;
final RelTraitSet traitSet = rel.getTraitSet().replace(EnumerableConvention.INSTANCE);
return new EnumerableMinus(rel.getCluster(), traitSet, convertList(minus.getInputs(), out), false);
}
Aggregations