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

Add RelOptRuleOperand constructor that takes a predicate

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.9.2-incubating
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: