Julian Hyde created CALCITE-442:
-----------------------------------

             Summary: Add RelOptRuleOperand constructor that takes a predicate
                 Key: CALCITE-442
                 URL: https://issues.apache.org/jira/browse/CALCITE-442
             Project: Calcite
          Issue Type: Bug
            Reporter: Julian Hyde
            Assignee: Julian Hyde


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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to