Understanding Versions
Understanding The Versions And Change Detection
In the timeline view, each thumbnail represents a version of change the metadata underwent. Here the version of the change is 297 with a summary of additions, deletions and updates. It means there were 296 other version of changes that occurred, but it is out of the scope of our tutorial.
- Click on the thumbnail 297.
- A detailed view appears below with all the changes that occurred.
- Summary says there were 6 objects and 28 properties added. 0 deletions and 0 updates.
- 1 database
Organizationwas added. - 1 schema
publicwas added to Organization database. - 4 tables were added to the public schema.
- 1 table
Inventoryadded with 3 columns, 2 constraints and 2 indexes. - 1 table
Productsadded with 4 columns, 1 constraints and 1 index. - 1 table
Salesadded with 3 columns, 2 constraints and 2 indexes. - 1 table
Warehouseadded with 4 columns, 2 constraints and 2 index.
- 1 table
- 1 database
- You can view the type of columns, names of constraints and indexes by clicking on the respective tabs under the header SOURCE VALUE.
The metadata timeline detection job runs in background at a scheduled frequency to detects changes in the metadata. The change if detected is assigned a version number, which then appears on the timeline the next time you visit it. Let's say there was a change detected by the job. This change will be assigned version 298.
- Click on the thumbnail 298.
- In the view below, you can see that 3 objects and 2 properties have been updated.
- 1 database
Organizationwas updated. - 1 schema
publicwas updated in Organization database. - 1 table
Inventoryin public schema was updated.- A new column
inventory_update_timewas added to the Inventory table. It is in upper case for display purpose only. - 1 column
available_quantitywas updated tointegerfromnumber. - You can see the change under the headers SOURCE VALUE in green colour and TARGET VALUE in red colour.
- A new column
- 1 database
In the next example a delete operation is captured in the metadata timeline version. It is version 299.
- Click on the thumbnail 299.
- In the view below, you can see that 3 objects have been update. 1 property have been deleted.
- 1 database
Organizationwas updated. - 1 schema
publicwas updated in Organization database. - 1 table
Warehousein public schema was updated. - 1 column
warehouse_locationwas deleted.
- 1 database
Any addition is highlighted in green colour, deletion in red colour. An update is an addition (green) followed by deletion (red).
Change classes: Breaking, Risky and Additive
Every change in a version's details carries one of three classes, shown as a pill at the start of its row. A change is Breaking, Additive, or Risky:
| Class | What goes in it |
|---|---|
| Breaking | A table or column dropped, a column type narrowed, nullability tightened, or a key changed |
| Additive | A table or column added, or a comment changed |
| Risky | Every other change. Any kind of change DataDios has not seen before is Risky until it is classified |
The class describes the change itself. It is not the same as the tiers (Critical, High and so on) on the Downstream tab, which rate the objects that read the changed one.
A version that drops a column always has High impact, whatever else it contains.
On a table
- The panel has one row of tabs: Changes, any attribute tabs, and Downstream, which shows what reads the changed object. It is not on databases, schemas, catalogs, datasets, projects or configuration objects. There is no class filter and no banner.
- Breaking changes come first in the list, then Risky, then Additive. The pill at the start of each row is the class.
- When one kind of change has more than 5 items, they fold into a single group row, for example "9 columns dropped", with the first names beside it. Breaking groups open to their first rows, with Show N more (x of y) for the rest. Risky and Additive groups start closed.
- A dropped table is one row, never one row per column.
On a schema or database
Open it from the View timeline button on a schema or database row. The Inside tab lists the tables (or schemas) below it that changed, each with its worst class and a one-line summary. A dropped one shows, for example, "table dropped". Rows are listed worst first, 25 at a time; Show next 25 loads more. The schema's or database's own changes are not shown in this tab. Open a row to see that object's own changes in place.
A version saved before this release shows "This version was saved before roll-ups existed, so what changed inside it is not shown."