[ 
https://issues.apache.org/jira/browse/CALCITE-442?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Julian Hyde resolved CALCITE-442.
---------------------------------
       Resolution: Fixed
    Fix Version/s: 0.9.2-incubating

Fixed in http://git-wip-us.apache.org/repos/asf/incubator-calcite/commit/3afe4b1

> 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
>             Fix For: 0.9.2-incubating
>
>
> 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