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

catalogName

String

Name of the catalog (database) containing the materialized view

No

schemaName

String

Name of the schema containing the materialized view

No

viewName

String

Name of the materialized view to alter

Yes

clusterBy

String

Column expression(s) to cluster by*

No

dropClusteringKey

Boolean

Drop the clustering key*

No

suspendRecluster

Boolean

Suspend automatic reclustering*

No

resumeRecluster

Boolean

Resume automatic reclustering*

No

* Exactly one operation must be specified

loading

loading

loading

loading