Skip to content

Commit b7e5d26

Browse files
committed
document lifecycle is not a ddl
1 parent bceaf81 commit b7e5d26

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

apps/framework-cli/src/framework/core/infra_reality_checker.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,10 @@ fn normalize_source_tables(tables: &[String], default_database: &str) -> HashSet
137137
/// Checks if two MaterializedViews are semantically equivalent.
138138
/// Compares target table, source tables (order-independent), and normalized SELECT SQL.
139139
/// Uses default_database to normalize `None` database references.
140+
///
141+
/// Note: `life_cycle` is intentionally excluded — it is Moose metadata and does not
142+
/// correspond to any ClickHouse DDL. A lifecycle-only change requires no DROP+CREATE
143+
/// and should not be surfaced as a ClickHouse structural difference.
140144
pub fn materialized_views_are_equivalent(
141145
mv1: &MaterializedView,
142146
mv2: &MaterializedView,

0 commit comments

Comments
 (0)