- There is nothing to set up. Schema changes are tracked for every table and view in your connected data warehouses. That is why
Schemais not offered under Add monitor on an asset, and it does not count toward your monitor limit. - It never notifies anyone on its own. Changes are recorded on the asset, and you are notified only when a schema change alert covers that asset.
- It never raises an issue. A schema change is a record of what changed, not a failure, so it does not appear in Issues and does not change an asset’s health.
What is detected
Each time Coalesce Quality refreshes the catalog of your data warehouse (every four hours by default), it compares the columns of every table and view with the previous refresh and records:- Column added
- Column removed
- Column type changed, with the previous and the current type
SQL definition changes
Coalesce Quality also records when the SQL that defines an asset changes, for example the definition of a view, and keeps a diff of the old and new SQL. SQL definition changes are only recorded. They do not trigger alerts.Where to see schema changes
Open the asset in the catalog and select the Changes tab. It lists the commits, schema changes and SQL definition changes on the asset for the last 30 days by default. Use the Type filter to narrow it to Schema changes or SQL definition changes, and the date range to look further back. Select a change to open its details:- Schema change—each changed column, marked Add, Remove or Type change, with its type. A type change shows the previous and the current type.
- SQL definition change—a diff of the previous and the current SQL.
Getting notified about schema changes
To be notified when a schema changes, create a schema change alert:- Go to Settings → Alerts, and under Asset alerts click Add alert.
- Under Alert type, select Schema change, then select the assets the alert covers.
- Choose the alert settings:
- Notify about upstream changes—also alert on schema changes in assets upstream of the ones you selected.
- Schedule digest—turn on Enable daily digest to get one summary per day at a time you choose (UTC), instead of one alert per change.
- Choose where the alert is sent. Schema change alerts can go to Slack, Microsoft Teams and email.