alterDynamicTableColumn
Last updated: February 13, 2026
Modifies column properties on an existing Snowflake dynamic table.
Note: Dynamic table columns are derived from the query, so they have fewer modifiable properties compared to standard table columns. They don't support data type changes, nullable changes, default values, auto-increment, or computed columns.
Note: This change type does not support automatic rollback.
Available attributes
Attribute | Type | Description | Required |
|---|---|---|---|
| String | Name of the catalog (database) containing the dynamic table | No |
| String | Name of the schema containing the dynamic table | No |
| String | Name of the dynamic table containing the column | Yes |
| String | Name of the column to alter | Yes |
| Boolean | Only execute if the dynamic table exists | No |
Masking policy
Sets or unsets a masking policy on the column.
alterMaskingPolicy nested attributes
Attribute | Type | Description | Required |
|---|---|---|---|
| String | Name of the masking policy to apply | No* |
| String | Additional columns for conditional masking | No |
| Boolean | If true, forces policy replacement | No |
| Boolean | If true, removes the masking policy | No* |
*Specify either policyName to set or unsetPolicy to remove.
Projection policy
Sets or unsets a projection policy on the column.
alterProjectionPolicy nested attributes
Attribute | Type | Description | Required |
|---|---|---|---|
| String | Name of the projection policy | No* |
| Boolean | If true, forces policy replacement | No |
| Boolean | If true, removes the projection policy | No* |
*Specify either policyName to set or unsetPolicy to remove.
Comment
Sets or unsets the column comment.
alterColumnComment nested attributes
Attribute | Type | Description | Required |
|---|---|---|---|
| String | New comment text | No* |
| Boolean | If true, removes the comment | No* |
*Exactly one of newComment or unsetComment must be specified.
Tags
Sets or unsets tags on the column.
alterColumnTags nested attributes
Attribute | Type | Description | Required |
|---|---|---|---|
| Object | Map of tag names to values to set | No* |
| Object | List of tag names to unset | No* |
*Exactly one of setTags or unsetTags must be specified.