Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.
Enterprise only

Reassign Zingg ID

Preserve Zingg IDs when switching to a new trained model or migrating infrastructure without disrupting downstream systems.

Enterprise Plus only. Preserves Zingg IDs when switching to a new model. Maximises ID continuity and minimises downstream disruption. Available in ZinggES (Enterprise Plus).

When you evolve your Zingg setup — upgrading your model, migrating infrastructure, changing data schemas, or moving to a new platform — you want to preserve the Zingg IDs already flowing through your production systems.

The reassignZinggId phase carries Zingg IDs from your original production model to a new model's output. It maps clusters from the new model back to the original cluster assignments and preserves the original Zingg IDs wherever clusters overlap. New IDs are generated only where no match is found.

For what the Zingg ID is and how it works in Enterprise output → Zingg ID and Z Cluster

When to use Reassign Zingg ID

Model upgrades

When you add new features like nickname support, improve blocking strategies, or tune classifiers, the new model may produce different clusters than the original. Use reassignZinggId to carry over original IDs to the new model output wherever clusters overlap, so downstream systems are not disrupted.

Infrastructure migration

Are you moving from Spark to Snowflake or from Databricks to Microsoft Fabric? Use reassignZinggId to maintain the same Zingg IDs across platforms when the underlying data and model are otherwise equivalent.

Schema changes

If your data schema changes, new fields are added, fields are removed, or field types are updated. Use reassignZinggId to preserve IDs for records that can still be matched via primary key to the original output.

Data migration

When migrating data between systems or consolidating data sources, reassignZinggId maintains ID consistency across the migration. Downstream systems that reference Zingg IDs continue to work without any updates.

How it works

The reassign phase compares two configurations:

  • Original configuration: your production model with established Zingg IDs.

  • New configuration: your updated model with improved features, new infrastructure, or schema changes.

The reassign phase then:

  1. Identifies clusters in the new output that overlap with original clusters via primary key matching

  2. Reassigns the original Zingg IDs to matching clusters wherever possible

  3. Generates new Zingg IDs only when no match is found in the original clusters

Worked example

Original model (production): 4 records in a cluster, Zingg ID = ZID-7f3a. Records: A, B, C, D.

New model (upgraded): 6 records in the equivalent cluster. Records: A, B, C, D, E, F (E and F are new records added since the last full match).

After reassignZinggId:

  • Records A, B, C, D → ZID-7f3a (Zingg ID from the original output preserved via primary key overlap)

  • Records E, F → ZID-9b2c (new Zingg IDs generated for records with no match in the original)

Downstream systems that reference ZID-7f3a continue to work without any change.

Step 1: Define the original (baseline) configuration

Set up EArguments matching your existing production model. This is the model whose Zingg IDs you want to preserve.

Add all field definitions from your original production config - only a few are shown above as a pattern.

Step 2: Define the new (updated) configuration

Set up EArguments for your new model. This is the model that produced the new cluster assignments which need Zingg IDs reassigned.

Add all field definitions from your new model config - only the structure is shown above.

Step 3: Run trainMatch on the new configuration first

The new model must produce its own match output before reassign can compare clusters.

Step 4: Create CompareArguments

CompareArguments wraps both configurations and the destination for the reassigned output.

Step 5: Execute reassignZinggId

Configuration wrapper (reassignConf.json)

The JSON wrapper config references your new model config and specifies the destination for the reassigned output.

  • --conf - the wrapper config (reassignConf.json) that references your new model

  • --originalZinggId - your original production configuration

  • --properties-file - optional Zingg properties file

The CLI command takes three arguments:

Configuration wrapper (reassignConf.json)

The JSON wrapper config references your new model config and specifies the destination for the reassigned output.

  • --conf - the wrapper config (reassignConf.json) that references your new model

  • --originalZinggId - your original production configuration

  • --properties-file - optional Zingg properties file

The CLI command takes three arguments:

Last updated

Was this helpful?