From 51ed79022b17d7fb48025ccb432beb2183d86432 Mon Sep 17 00:00:00 2001 From: Iaroslav Zeigerman Date: Thu, 27 Jun 2024 21:11:20 -0700 Subject: [PATCH] Fix: Don't pass a snapshot reference into the renderer when creating a schema migration source --- sqlmesh/core/snapshot/evaluator.py | 1 - 1 file changed, 1 deletion(-) diff --git a/sqlmesh/core/snapshot/evaluator.py b/sqlmesh/core/snapshot/evaluator.py index b112a9a9a..ece333e2c 100644 --- a/sqlmesh/core/snapshot/evaluator.py +++ b/sqlmesh/core/snapshot/evaluator.py @@ -675,7 +675,6 @@ def _create_snapshot( table_name=tmp_table_name, model=snapshot.model, is_table_deployable=False, - snapshot=snapshot, table_mapping={snapshot.name: tmp_table_name}, **create_render_kwargs, )