Compare two versions of a table
Comparing two versions shows which columns changed and lists the exact rows that were added, removed, or changed between them. Use it to build an incident report after a bad write, or to check what a reload changed.
Prerequisites
- The table has at least 2 versions.
- Your role includes
time_machine:metadata_diffto see the structure changes, andtime_machine:data_diffto compare rows. Theportal_admin,data_engineer, anddata_analystroles have both. - You can read the table in Data Security.
Start a comparison
- Open the Time Machine tab of the table.
- Select the check box of the first version. A bar above the list shows
1 version selected. Pick one more to compare., and the rows move down. - Select the check box of the second version. The bar shows
Compare <older version> with <newer version>, with the save time of each version. - Select Compare.
If you select a third version, the first one you selected is cleared. Clear on the bar clears both. Compare versions at the top of the tab stays off until two versions are selected, then does the same as Compare.
You can also start from a shortcut. Each one fills in the two versions for you:
| Shortcut | Where | Older version (A) | Newer version (B) |
|---|---|---|---|
| Compare with previous version | Version details panel | The version before | The version you opened |
| Compare with current version | Version details panel | The version you opened | The current version |
| What changed in this version | Window opened with View data | The version before | The version you opened |
The comparison opens in place of the history, in three steps: Choose versions, Match rows & check size, and Results. Select Back to history at any time to leave it. The history then reloads the latest 500 versions and clears the versions you ticked.
Choose the versions
- Review the versions in Older version (A) and Newer version (B). To change one, select another version in its list.
- Read the Structure changes card.
- Select Next: match rows.

Each version in the two lists shows its save time to the minute, its kind of change, and the last 6 digits of its ID. A is always the older version and B the newer one. If you pick them the other way round, Time Machine swaps them and says We put the older version first. If you pick the same version twice, you see Choose two different versions. and Next: match rows turns off. The values and the Structure changes card stay hidden until you pick two different versions.
Rows, Data size, and Data files show the value at A and at B, for example 9 → 11. Rows and Data files also show the difference, for example +2.
The Structure changes card checks the columns on its own:
- Columns added and Columns removed list each column with its type.
- Columns changed shows the old and new type, for example
amount: decimal(12, 2) → decimal(18, 2), or a column that now requires a value,nullable → required. - Rows / Data files shows how many rows and data files were added or removed, for example
+2 / +2. - Each column group shows up to 6 columns. A
+Nlabel holds the rest. A group with nothing to show saysNo changes.
If the card cannot load, it shows a warning, and you can still continue. Without time_machine:metadata_diff, the card is replaced by a message. Without time_machine:data_diff, the comparison stops here and Next: match rows is replaced by a message.
Match rows and check the size
Time Machine pairs each row of A with a row of B by a key, one or more columns that identify a row, such as order_id. Rows with the same key are compared column by column.
The key must:
- Exist in both versions.
- Have a value in every row.
- Be unique: no two rows share the same key.
- Under How should rows be matched?, keep Use the key from last time, or select Choose columns. The first option appears only after you have compared this table once.
- Select the key columns in the Choose columns field. Skip this step if you kept Use the key from last time.
- Select Check size.
- Read the Size check card.
- Select Run comparison before the Run within timer reaches 00:00.

The Choose columns field lists the columns the table has now. Choose columns that exist in both versions.
Check size refuses a key column that is missing in one of the two versions. Repeated key values pass Check size and are refused only when you select Run comparison, which also clears the size check. In both cases you see These columns cannot be used as a key: …. Choose other columns and select Check size again.
The Size check card tells you how much the comparison will read, for example This comparison reads about 129 MB across 19,284 rows. That is within the platform limit. The Data to read and Rows to read bars show the estimate against the limit, for example Data to read 129 MB / 10.0 GB. Check size does not compare any rows. After the check, Check size becomes Check size again and Run comparison appears.
The timer starts at 05:00 by default and changes color in the last 30 seconds. At 00:00, Run comparison turns off and the Size check card shows The size check expired. Check the size again before running. Select Check size again.
If you change the key after the check, the Size check card closes and you see The key changed. Check the size again before running. under the field. Select Check size again. If you change A or B, or select Back, the size check is cleared.
While the comparison runs, the button shows Comparing…. You can run 1 comparison at a time by default.
Time Machine saves your key for the table after a comparison succeeds. The next time you compare versions of this table, Use the key from last time: <columns> is selected for you. Saved keys are personal. Other users do not see yours. If a saved key uses a column that no longer exists in the table, the option is off, Choose columns is selected, and you see The saved key uses columns that no longer exist. Choose columns manually.
Rows are compared on the columns of the older version (A). A column that exists only in the newer version (B) is ignored. It is not compared and does not show in the results, not even for an added row. If a column of A is missing in B or has another type there, Check size refuses the comparison with Some columns of the older version are missing or have a different type in the newer version, so the rows cannot be compared. Choose two closer versions. Pick two versions that are both before or both after the column change.
Read the results

Four tiles count the differences:
| Tile | Meaning |
|---|---|
| Added | The key is in B but not in A. |
| Removed | The key is in A but not in B. |
| Changed | The key is in both, but some values differ. |
| Differences | All rows that differ. |
The line under the tiles shows how long the comparison took and how much it read, for example Compared in 282 ms · read 2.8 KB. Rows that did not change are not listed. If nothing differs, you see The two versions have the same rows., and Download CSV does not appear.
Use the All, Added, Removed, and Changed tabs to filter the list. Each tab shows its count, for example Added (6). A tab with no rows shows No differences of this type. Each row shows:
- Change: Added, Removed, or Changed.
- The key columns, one column each.
- What changed: up to 3 columns. A changed row shows
column old → new. An added or removed row shows the name and value of its first 3 columns.+N moreopens the rest in the Change details panel.
The list shows 20 rows per page by default, and you can show 50 or 100.
To see all compared columns of one row, select the row or the Details icon at its end. The Change details panel shows the kind of change and one line per key column at the top, for example id: 4. Under them, a table lists every column of A that is not part of the key, changed or not, with its value in Before (A) and After (B).

In the panel, the columns whose value changed are highlighted. — marks the side where the row does not exist, and ∅ marks an empty (null) value.
Under the list, Download CSV, Compare other versions, and Back to history finish the comparison. To compare another pair, select Compare other versions. You go back to the first step with the same two versions selected, and the key you chose stays selected.
Download the result as CSV
Select Download CSV. The button appears when at least 1 row differs.
The browser saves a file named time-machine-diff-<table>-<A>-<B>.csv, where <table> is the table name and <A> and <B> are the last 6 digits of the version IDs. The file has:
- A
changecolumn with the kind of change in upper case, for exampleADDEDorCHANGED. - The key columns.
- Two columns for every column of A that is not part of the key, changed or not:
<column> (before)and<column> (after).
The file holds every row that differs, whatever tab is open, up to 10,000 rows by default. It is saved in UTF-8 with a byte order mark (BOM), so it opens correctly in Excel. In the file:
- Empty (null) values and the side where the row does not exist are empty cells.
- A text value that starts with
=gets a'in front of it, for example'=1+1, so that it is not read as a formula. A value that starts with+, such as a phone number, is written as it is, and Excel may read it as a number. - Date and time values are in UTC, for example
2026-11-01 01:30:00.000 UTC, while the screen shows your local time.
The file holds real table data, with the same masking as your queries. A masked value is an empty cell, so it looks the same as an empty value. Store and share the file as you would any other export of that data.
If something goes wrong
Most messages appear at the top of the Match rows & check size step. The message about an expired size check appears inside the Size check card.
| Message | What it means | What to do |
|---|---|---|
These columns cannot be used as a key: a column is missing in one version, or some rows have no value or share the same value. Choose different columns. | The key breaks one of the rules above. Check size finds a missing column, and Run comparison finds repeated values. | Select Choose columns and pick other columns. |
Some columns of the older version are missing or have a different type in the newer version, so the rows cannot be compared. Choose two closer versions. | A column of A was removed or changed type in B. Check size refuses the comparison. | Pick two versions that are both before or both after the column change. |
More than <limit> rows differ, which is above the platform limit. Choose two closer versions. | More rows differ than the limit, 10,000 by default. Time Machine never shows part of the list. | Pick two versions closer in time. |
The size check expired. Check the size again before running. | The timer reached 00:00. | Select Check size again. |
For all messages, see Time Machine limits and messages.