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().