use of org.apache.beam.sdk.extensions.sql.impl.rel.CalcRelSplitter in project beam by apache.
the class BeamCalcSplittingRule method onMatch.
@Override
public void onMatch(RelOptRuleCall relOptRuleCall) {
final Calc calc = (Calc) relOptRuleCall.rel(0);
final CalcRelSplitter transform = new CalcRelSplitter(calc, relOptRuleCall.builder(), getRelTypes());
RelNode newRel = transform.execute();
relOptRuleCall.transformTo(newRel);
}
Aggregations