-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 0.9.2-incubating
-
Component/s: None
-
Labels:None
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.