Skip to content

[enhancement] rules don't need to recursion inside themselves #2620

@jackwener

Description

@jackwener

Is your feature request related to a problem or challenge? Please describe what you are trying to do.
Now, all rules in optimizer must handle subplan by recursing optimize themselves.

I'd like to let optimizer to handle subplan, rule just focus on the optimize logic.

I have add optimizer struct for this PR in #2616 .

Describe the solution you'd like
Handle the subplan in optimizer by recursing optimization.

Describe alternatives you've considered

Additional context

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