Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
Currently if you want a rule operand to only match certain relational expressions you must sub-class RelOptRuleOperand and change the boolean matches(RelNode) method.
We should add a constructor RelOptRuleOperand that takes a predicate (a function that returns a boolean). Then sub-classing will not be necessary.