Skip to content

Remove recompute_schema usage from optimizer #14357

@findepi

Description

@findepi

The basic assumption that for a given operator we can recompute its schema from inputs' schema is unsound.

The usage of recompute_schema within optimizer should be replaced with explicit node schema updates.
For example, when pruning inputs with RequiredIndices, the node's schema should be pruned the same way, not recomputed anew.

The usage of recompute_schema within analyzer is left for a different issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions