use of org.apache.beam.sdk.extensions.sql.impl.rel.BeamSideInputJoinRel in project beam by apache.
the class BeamSideInputJoinRule method onMatch.
@Override
public void onMatch(RelOptRuleCall call) {
Join join = (Join) call.rel(0);
BeamSideInputJoinRel rel = new BeamSideInputJoinRel(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