From 4fc18abc0e6237360156d57cb9da93c0adaef28d Mon Sep 17 00:00:00 2001 From: George Sittas Date: Thu, 11 Sep 2025 16:01:58 +0300 Subject: [PATCH] Chore: fix redshift integration test --- .circleci/continue_config.yml | 22 +++++++++++----------- sqlmesh/core/snapshot/evaluator.py | 7 ++----- 2 files changed, 13 insertions(+), 16 deletions(-) diff --git a/.circleci/continue_config.yml b/.circleci/continue_config.yml index e21f3d869b..2f384b2f7d 100644 --- a/.circleci/continue_config.yml +++ b/.circleci/continue_config.yml @@ -302,18 +302,18 @@ workflows: matrix: parameters: engine: - - snowflake - - databricks + # - snowflake + # - databricks - redshift - - bigquery - - clickhouse-cloud - - athena - - fabric - - gcp-postgres - filters: - branches: - only: - - main + # - bigquery + # - clickhouse-cloud + # - athena + # - fabric + # - gcp-postgres + # filters: + # branches: + # only: + # - main - ui_style - ui_test - vscode_test diff --git a/sqlmesh/core/snapshot/evaluator.py b/sqlmesh/core/snapshot/evaluator.py index 961062fe45..c2f5852a5b 100644 --- a/sqlmesh/core/snapshot/evaluator.py +++ b/sqlmesh/core/snapshot/evaluator.py @@ -747,11 +747,8 @@ def _evaluate_snapshot( adapter.execute(model.render_pre_statements(**render_statements_kwargs)) if not target_table_exists or (model.is_seed and not snapshot.intervals): - columns_to_types_provided = ( - model.kind.is_materialized - and model.columns_to_types_ - and columns_to_types_all_known(model.columns_to_types_) - ) + columns_to_types_provided = model.kind.is_materialized and model.annotated + if self._can_clone(snapshot, deployability_index): self._clone_snapshot_in_dev( snapshot=snapshot,