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

Disallow sub-classes of RelOptRuleOperand

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.8.0
    • Component/s: None
    • Labels:
      None

      Description

      Disallow sub-classes of RelOptRuleOperand. The only reason that people have sub-classed RelOptRuleOperand is to override the boolean matches(RelNode) method, and you can now achieve that by supplying a Predicate to the constructor.

      Next release, we will deprecate RelOptRuleOperand's protected constructor and create a new private or package-protected one. Later we will remove that constructor.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: