Class SplitPythonConditionFromCorrelateRule
java.lang.Object
org.apache.calcite.plan.RelOptRule
org.apache.calcite.plan.RelRule<SplitPythonConditionFromCorrelateRule.SplitPythonConditionFromCorrelateRuleConfig>
org.apache.flink.table.planner.plan.rules.logical.SplitPythonConditionFromCorrelateRule
@Enclosing
public class SplitPythonConditionFromCorrelateRule
extends org.apache.calcite.plan.RelRule<SplitPythonConditionFromCorrelateRule.SplitPythonConditionFromCorrelateRuleConfig>
Rule will split a
FlinkLogicalCalc which is the upstream of a FlinkLogicalCorrelate and contains Python Functions in condition into two FlinkLogicalCalcs. One of the FlinkLogicalCalc without python function condition is the
upstream of the FlinkLogicalCorrelate, but the other FlinkLogicalCalc with python
function conditions is the downstream of the FlinkLogicalCorrelate. Currently, only inner
join is supported.
After this rule is applied, there will be no Python Functions in the condition of the upstream
FlinkLogicalCalc.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceRule configuration.Nested classes/interfaces inherited from class org.apache.calcite.plan.RelRule
org.apache.calcite.plan.RelRule.Config, org.apache.calcite.plan.RelRule.Done, org.apache.calcite.plan.RelRule.MatchHandler<R extends org.apache.calcite.plan.RelOptRule>, org.apache.calcite.plan.RelRule.OperandBuilder, org.apache.calcite.plan.RelRule.OperandDetailBuilder<R extends org.apache.calcite.rel.RelNode>, org.apache.calcite.plan.RelRule.OperandTransformNested classes/interfaces inherited from class org.apache.calcite.plan.RelOptRule
org.apache.calcite.plan.RelOptRule.ConverterRelOptRuleOperand -
Field Summary
FieldsFields inherited from class org.apache.calcite.plan.RelRule
configFields inherited from class org.apache.calcite.plan.RelOptRule
description, operands, relBuilderFactory -
Method Summary
Methods inherited from class org.apache.calcite.plan.RelOptRule
any, convert, convert, convertList, convertOperand, convertOperand, equals, equals, getOperand, getOperands, getOutConvention, getOutTrait, hashCode, none, operand, operand, operand, operand, operand, operandJ, operandJ, some, toString, unordered
-
Field Details
-
INSTANCE
-
-
Method Details
-
matches
public boolean matches(org.apache.calcite.plan.RelOptRuleCall call) - Overrides:
matchesin classorg.apache.calcite.plan.RelOptRule
-
onMatch
public void onMatch(org.apache.calcite.plan.RelOptRuleCall call) - Specified by:
onMatchin classorg.apache.calcite.plan.RelOptRule
-