use of org.apache.beam.sdk.extensions.sql.impl.rel.BeamCoGBKJoinRel in project beam by apache.
the class BeamCoGBKJoinRule method onMatch.
@Override
public void onMatch(RelOptRuleCall call) {
Join join = (Join) call.rel(0);
BeamCoGBKJoinRel rel = new BeamCoGBKJoinRel(join.getCluster(), join.getTraitSet().replace(BeamLogicalConvention.INSTANCE), convert(join.getLeft(), join.getLeft().getTraitSet().replace(BeamLogicalConvention.INSTANCE)), convert(join.getRight(), join.getRight().getTraitSet().replace(BeamLogicalConvention.INSTANCE)), join.getCondition(), join.getVariablesSet(), join.getJoinType());
call.transformTo(rel);
}
Aggregations