Skip to content
  • There are no suggestions because the search field is empty.

Delta Detection (Model Object)

Applies to
Platform: Microsoft SQL Server · Snowflake · Databricks · Databricks dbt · Fabric Lakehouse · Fabric Warehouse · Oracle
Architecture: Data Store · Dimensional · Data Mart

Delta Detection (DeltaDetection) decides how the loader compares a source row with the current version of its key: by row hashes or column by column. The result decides whether the loader inserts a version, updates the SCD1 terms or does nothing.

Where to set it

Set the property when you edit a model object of type Store Entity, Entity or Mart Dimension. Data Vault and Stage objects do not offer it. Data Vault satellites always compare BG_RowHash.

Values and default

  • Hash Value Comparison (default): the loader compares BG_RowHashScd1 and BG_RowHashScd2. Each exists only when the object has terms of that Historization Type.
  • Column Comparison: the loader compares every SCD1 and SCD2 term, NULL-safe for nullable terms. The object has no row-hash columns and no hashing view.

The two values can give different results. A hash detects a trailing space or a different letter case. A column comparison follows the comparison rules of the platform. Change detection and historization shows an example.

Interactions

With Column Comparison, Load Caching Hashing has no effect, because there is no hashing view to store.

Example

A Store Entity on Microsoft SQL Server receives the address Main Street 3 with a trailing space, after Main Street 3 was loaded. With Hash Value Comparison, the loader starts a new version. With Column Comparison, nothing changes, because SQL Server compares the two strings as equal.

Release differences

  • Generator 2.0: Delta Detection is a model-object property of Store Entity, Entity and Mart Dimension.
  • Up to Generator 1.10: Delta Detection was a project property in Project Settings, with the same values and default.

Related articles