Skip to content

Explainer doesn't have visit method for PhysicalLayerSchemaCreationStage #5619

Description

@blecourt-private

When explaining a plan for which the PhysicalLayerSchemaCreationStage is created the following error is thrown in the logs:

sqlmesh.core.plan.explainer - ERROR - Unexpected stage: PhysicalLayerSchemaCreationStage (explainer.py:134)

Link to code: https://github.com/TobikoData/sqlmesh/blob/main/sqlmesh/core/plan/explainer.py#L134

It seems that the visit method visit_physical_layer_schema_creation_stage() for this stage is missing from explainer.py.

The corresponding method is defined in evaluator.py: visit_physical_layer_schema_creation_stage().

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions