alterDynamicTable policies
Last updated: January 27, 2026
Modifies security and privacy policies on dynamic tables, including row access and aggregation policies.
Known limitations:
This change type does not support automatic rollback.
Snowflake snapshots created with Liquibase Secure 5.1 are incompatible with earlier versions due to enhanced object type detection for TABLES and VIEWS. Regenerate all snapshots with 5.1 after upgrading to avoid false differences in diff and diff-changelog operations.
Row access policy
Controls row-level access to data based on user attributes.
Available attributes
Attribute | Type | Description | Required |
|---|---|---|---|
| String | Name of the catalog (database) containing the table | No |
| String | Name of the schema containing the table | No |
| String | Name of the dynamic table to alter | Yes |
| Boolean | Only execute if the table exists | No |
alterRowAccessPolicy nested attributes
Attribute | Type | Description | Required |
|---|---|---|---|
| String | Name of the row access policy | No* |
| String | Column(s) the policy applies to | No |
| Boolean | If true, drops the current policy | No* |
| Boolean | If true, drops all policies | No* |
*Specify either policyName to add/modify or dropPolicy/dropAllPolicies to remove.
Aggregation policy
Controls privacy-preserving aggregation operations.
alterAggregationPolicy nested attributes
Attribute | Type | Description | Required |
|---|---|---|---|
| String | Name of the aggregation policy | No* |
| String | Entity key columns | No |
| Boolean | If true, unsets the policy | No* |
| Boolean | If true, forces the operation | No |
*Specify either newPolicyName to add/modify or unsetPolicy to remove.