Search in sources :

Example 1 with Intersect

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);
}
Also used : Project(org.apache.calcite.rel.core.Project) HiveProject(org.apache.hadoop.hive.ql.optimizer.calcite.reloperators.HiveProject) HiveIntersect(org.apache.hadoop.hive.ql.optimizer.calcite.reloperators.HiveIntersect) Intersect(org.apache.calcite.rel.core.Intersect)

Aggregations

Intersect (org.apache.calcite.rel.core.Intersect)1 Project (org.apache.calcite.rel.core.Project)1 HiveIntersect (org.apache.hadoop.hive.ql.optimizer.calcite.reloperators.HiveIntersect)1 HiveProject (org.apache.hadoop.hive.ql.optimizer.calcite.reloperators.HiveProject)1