Skip to main content
When you move a pipeline to Fabric (for example, from Azure Data Factory), you want to be sure the new pipeline produces the same data as the legacy one. Pair the legacy output as the source and the new Fabric output as the target, and each Test reports whether they match. Make sure you’ve completed Getting started so your Environment is set up, and that you have the Contributor or Owner role.

Bring both outputs into Fabric

Each side of a Table Pair is a Lakehouse Table, a Warehouse Table, or a SQL database table, in any mix. Your Environment needs read access to each Lakehouse or Warehouse Table; the pair’s Access for validation panel provides a Fabric notebook snippet and request to grant it in Fabric. Your new Fabric pipeline already writes to one. For the legacy output, use one of:
  • Connect the table directly when the legacy pipeline writes to Azure SQL Database, SQL Server, or Azure SQL Managed Instance; see SQL database tables.
  • Add a shortcut in a Lakehouse to the storage where the legacy pipeline already writes its tables.
  • Load the legacy output into a Lakehouse Table once with your own Fabric pipeline, for example when the legacy output is a file rather than a Table.
  • Pair the Warehouse Table directly when the legacy pipeline already lands in a Fabric Warehouse.

Pair the legacy and new Tables

  1. Open Table Pairs, select Add Table Pair, and enter a Table Pair name that identifies the migrated table. Create one pair per table.
  2. Choose the legacy output with Source Workspace, Source Lakehouse or Warehouse, and Source Table, then the new Fabric output with the matching Target fields. For a SQL database table, select Use Fabric connection on that side instead. Source and target stay fixed after creation.
  3. Under Join keys, map the columns that identify a row on each side. VALUE and OUTER_VALUE Tests require them. Choose keys that identify rows uniquely.
  4. Under Source filters and Target filters, limit both sides to the wave, partition, or date window you are validating now. Only rows matching every filter are compared, and the filters apply to every Test in the pair.
  5. Select Add Table Pair.

Add Tests in order

On the Table Pair page, select Add Test, choose the Test function, and select the Source column and Target column. Add Tests in this order so each Result narrows where a difference lives.
  1. COUNT_ROWS first. It needs no columns and confirms both sides have the same number of rows for the filtered scope.
  2. SUM, MIN, MAX, and COUNT_DISTINCT on the measures that matter, one Test per column. Leave Absolute threshold at 0 for exact equality.
  3. SET_A_EQUALS_B on identifier columns such as customer or order IDs, to confirm both sides contain the same distinct values. Use SET_A_IN_B when the new pipeline is allowed to add identifiers the legacy output lacks.
  4. VALUE or OUTER_VALUE with the join keys, on the columns you must match row by row; OUTER_VALUE also fails when a row is missing from either side. Set Max bad records to the number of mismatched rows you accept, and keep Evidence limit above 0 so mismatched rows are saved.

Run and review

  1. Confirm both loads for the wave have finished, then select Run validation on the Table Pair page or from the pair’s ⋯ menu on Table Pairs.
  2. When the Run finishes, review each Test’s Result, Compared, Mismatches, and Reason. Could not read a Table or The Test could not finish means the Run hit an access or column issue before it could compare data.
  3. For a failed Test, select View details to see the exact Source value and Target value or a sample of mismatched rows. For the complete evidence, Run status meanings, and retention, see Runs, Results, and evidence.

Repeat per wave and keep the pairs

For the next wave, open the pair, select Edit Table Pair from its ⋯ menu, and change the filters; the change applies to future Runs, past Runs stay intact, and the pair shows Not run until the new scope has a Result. Results lists every Run newest first, and each Run link can be bookmarked, so record the Run ID for each wave in your cutover record. After cutover, keep the pairs and run them after each later load as regression controls; see Validate on an ongoing basis. Keeping a Table Pair costs nothing; only its Runs count toward your plan. Deleting a Table Pair archives it; its Runs and Results remain.