Skip to content

Collapse the sub-tree of plan that always returns empty set #8438

Open
@leiysky

Description

@leiysky

Replace the sub-tree of plan that always returns 0 rows with a EmptySet operator, for example the following query can be optimized with this approach:

select * from t where FALSE;

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-plannerArea: planner/optimizerC-featureCategory: feature

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions