Skip to content

Commit 1124b63

Browse files
committed
Chore: fix redshift integration test
1 parent dc302eb commit 1124b63

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

sqlmesh/core/snapshot/evaluator.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -747,11 +747,8 @@ def _evaluate_snapshot(
747747
adapter.execute(model.render_pre_statements(**render_statements_kwargs))
748748

749749
if not target_table_exists or (model.is_seed and not snapshot.intervals):
750-
columns_to_types_provided = (
751-
model.kind.is_materialized
752-
and model.columns_to_types_
753-
and columns_to_types_all_known(model.columns_to_types_)
754-
)
750+
columns_to_types_provided = model.kind.is_materialized and model.annotated
751+
755752
if self._can_clone(snapshot, deployability_index):
756753
self._clone_snapshot_in_dev(
757754
snapshot=snapshot,

0 commit comments

Comments
 (0)