Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion sqlmesh/core/snapshot/evaluator.py
Original file line number Diff line number Diff line change
Expand Up @@ -916,7 +916,6 @@ def _migrate_snapshot(
if not snapshot.requires_schema_migration_in_prod:
return

deployability_index = DeployabilityIndex.all_deployable()
render_kwargs: t.Dict[str, t.Any] = dict(
engine_adapter=adapter,
snapshots=parent_snapshots_by_name(snapshot, snapshots),
Expand Down
3 changes: 0 additions & 3 deletions tests/core/test_snapshot_evaluator.py
Original file line number Diff line number Diff line change
Expand Up @@ -1383,9 +1383,6 @@ def test_migrate_snapshot_data_object_type_mismatch(
adapter.cursor.execute.assert_has_calls(
[
call('DROP TABLE IF EXISTS "sqlmesh__test_schema"."test_schema__test_model__1"'),
call(
'CREATE VIEW "sqlmesh__test_schema"."test_schema__test_model__1" AS SELECT "c" AS "c", "a" AS "a" FROM "tbl" AS "tbl"'
),
]
)

Expand Down