Skip to content

Allow optimizer rules to skip optimizing plans #4209

Description

@andygrove

Is your feature request related to a problem or challenge? Please describe what you are trying to do.
Many rules are only applicable to certain types of plan. Currently a rule has two choices if it cannot optimize the given plan:

  • Return a clone of the input plan
  • Return an Err

Describe the solution you'd like
I would like a third option, where the rule can return "not applicable".

Describe alternatives you've considered
None

Additional context
None

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions