alterMaterializedViewClustering
Last updated: January 27, 2026
Alters the clustering configuration of a materialized view in Snowflake, including setting cluster keys, dropping clustering keys, and controlling automatic reclustering. Materialized views require Snowflake Enterprise Edition or higher.
Note: This change type does not support automatic rollback or database inspection features (snapshot, diff, diff-changelog, and generate-changelog commands).
Available attributes
Attribute | Type | Description | Required |
|---|---|---|---|
| String | Name of the catalog (database) containing the materialized view | No |
| String | Name of the schema containing the materialized view | No |
| String | Name of the materialized view to alter | Yes |
| String | Column expression(s) to cluster by* | No |
| Boolean | Drop the clustering key* | No |
| Boolean | Suspend automatic reclustering* | No |
| Boolean | Resume automatic reclustering* | No |
* Exactly one operation must be specified