alterMaterializedViewTags
Last updated: July 13, 2026
Sets or unsets tags on a materialized view in Snowflake. Tags provide metadata for governance, cost tracking, and data classification. 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). Tags must be created before they can be applied to objects.
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 |
| Nested | Key-value pairs of tags to set* | No |
| Nested | List of tag names to remove* | No |
*Exactly one of setTags or unsetTags must be specified.
setTags attributes
Attribute | Type | Description | Required |
|---|---|---|---|
| String | Tag name | Yes |
| String | Tag value | Yes |
unsetTags attributes
Attribute | Type | Description | Required |
|---|---|---|---|
| String | Name of tag to unset | Yes |