Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
Disallow sub-classes of RelOptRuleOperand. The only reason that people have sub-classed RelOptRuleOperand is to override the boolean matches(RelNode) method, and you can now achieve that by supplying a Predicate to the constructor.
Next release, we will deprecate RelOptRuleOperand's protected constructor and create a new private or package-protected one. Later we will remove that constructor.
Attachments
Issue Links
- is related to
-
CALCITE-3923 Refactor how planner rules are parameterized
- Closed
- relates to
-
CALCITE-2832 Create RuleOperandBuilder for building RelOptRule operands
- Open