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.

        Attachments

          Activity

            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: