use of org.apache.calcite.rel.core.Intersect in project hive by apache.
the class HiveProjectOverIntersectRemoveRule method matches.
// ~ Methods ----------------------------------------------------------------
@Override
public boolean matches(RelOptRuleCall call) {
Project project = call.rel(0);
Intersect intersect = call.rel(1);
return isTrivial(project, intersect);
}
Aggregations