Uploaded image for project: 'Calcite'
  1. Calcite
  2. CALCITE-442

Add RelOptRuleOperand constructor that takes a predicate

    Details

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

        Activity

        Hide
        julianhyde Julian Hyde added a comment -

        Bulk update closing "fixed" issues that are more than a year old.

        Show
        julianhyde Julian Hyde added a comment - Bulk update closing "fixed" issues that are more than a year old.
        Show
        julianhyde Julian Hyde added a comment - Fixed in http://git-wip-us.apache.org/repos/asf/incubator-calcite/commit/3afe4b1

          People

          • Assignee:
            julianhyde Julian Hyde
            Reporter:
            julianhyde Julian Hyde
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development