v.24.3Improvement

Check Inner Table Structure When Modifying Materialized Views

While running the MODIFY COLUMN query for materialized views, check the inner table's structure to ensure every column exists. #47427 (sunny).
While executing MODIFY COLUMN queries on materialized views, the system now validates the inner table's structure to ensure all referenced columns exist.

Why it matters

This feature prevents errors and inconsistencies by verifying that every column involved in a MODIFY COLUMN operation on materialized views is present in the underlying inner table, enhancing schema reliability.

How to use it

When performing a MODIFY COLUMN query on a materialized view, ClickHouse automatically checks the inner table's columns for existence, so no additional user action is required.