Alter Standard Table - Data Metrics
Last updated: January 27, 2026
Modifies data metric configurations including schedule and metric functions.
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.
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 table to alter | Yes |
| Boolean | Only execute if the table exists | No |
Data metric schedule
Controls when data metrics are calculated.
alterDataMetricSchedule nested attributes
Attribute | Type | Description | Required |
|---|---|---|---|
| String | New schedule expression | No* |
| Boolean | If true, unsets the schedule | No* |
*Exactly one of newSchedule or unsetSchedule must be specified.
Data metric functions
Adds, modifies, or drops data metric functions.
alterDataMetricFunction nested attributes
Attribute | Type | Description | Required |
|---|---|---|---|
| String | Catalog containing the metric function | No |
| String | Schema containing the metric function | No |
| String | Name of the metric function | Yes |
| String | Column(s) the metric applies to | No |
| String | Action to perform: | Yes |
| String | New expression for MODIFY action | No |
| String | Role to execute as | No |