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

PIT

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

A PIT stores, for each business key of a Hub or Link and each point in time, which version of each of its satellites was valid. Use it to join several satellites of the same Hub or Link at a common point in time, for example in a Current View, a History View or a mart. After each load, the PIT table holds one row per key and per start of a satellite version.

Sources and relationships

A PIT has relationships to Satellites or Link Satellites that all belong to the same Hub or Link; validation checks this rule. It has exactly one dataflow, whose dataflow set contains these satellites and can also contain the Hub or Link. Each relationship adds two terms to the PIT, which the dataflow maps from the satellite:

<satellite name> is the name of the satellite and <role> the role of the relationship. Current View, History View, Business Current View, Business History View, Business Driving Key Link and Vault Out can read a PIT.

Create a PIT

Loading behavior

  • The source view collects every combination of key and BG_ValidFromTimestamp that occurs in any related satellite table. The unknown-member rows of the satellites are left out.
  • For each satellite, it takes the latest version whose BG_ValidFromTimestamp is not later than that point in time. A satellite without such a version contributes the key of zero bytes and 1900-01-01, which point to its unknown-member row.
  • With Implementation Type Permanent, the delta view keeps the rows whose key and BG_ValidFromTimestamp are not in the table yet, and the loader inserts them. With Cached, the loader empties the table and inserts all rows of the source view.
  • The result view adds BG_ValidToTimestamp: the next point in time of the same key, or the End of Universe.

Properties

The project properties Persist Validity and Create Result Views also apply.

Default Terms

  • PIT_HK: the key of the Hub or Link that the satellites belong to. With BG_ValidFromTimestamp it forms the primary key.
  • BG_ValidFromTimestamp: the point in time.
  • BG_ValidToTimestamp: the next point in time of the same key; a table column, set by the loader, only with Persist Validity.
  • BG_LoadTimestamp: the load that inserted the row.
  • DVPIT_ForeignKey_Identity and DVPIT_ForeignKey_LoadDate: one pair per relationship, see Sources and relationships.

Generated objects

The part flow of PIT shows which parts it can get and under which settings; the legend explains the symbols.

Part flow of Business PIT and PIT, top to bottom. The main path on the left, with the default settings, runs _Source, _Delta, _Loader, Table, _Result. Decisions with their values, the default or main value first: Implementation Type (Permanent; Cached); Create Result Views (true; false); BG_IncrementalFilter (mapped); Increment Management Type (Auto; User: request ID). Detours add the other parts: _Increment, _IncrementSource.

These are the names on Microsoft SQL Server for the PIT customer_based_on_hub with the default settings:

RoleGenerated namePurposeGenerated when
SourceRDV_PIT_customer_based_on_hub_SourceBuilds the points in timeAlways
IncrementSourceRDV_PIT_customer_based_on_hub_IncrementSourceFinds the new incrementBG_IncrementalFilter mapped, Increment Management Type Auto
IncrementRDV_PIT_customer_based_on_hub_IncrementStores the incrementsBG_IncrementalFilter mapped
DeltaRDV_PIT_customer_based_on_hub_DeltaSelects new points in timeImplementation Type Permanent
LoaderRDV_PIT_customer_based_on_hub_LoaderInserts the new rowsAlways
StorageRDV_PIT_customer_based_on_hubPIT tableAlways
ResultRDV_PIT_customer_based_on_hub_ResultQuery view with validityCreate Result Views true
  • The table has an index on the two terms of each relationship.
  • The table has no unknown-member row.

Generated parts of model objects shows the order in which a load runs the parts and the settings that add or remove them.

The source view reads the satellite tables for the points in time and their result views for the valid versions. The delta view compares the source view with the PIT table. The loader inserts the new rows with the load timestamp as BG_LoadTimestamp.

Example

The PIT customer_based_on_hub on Microsoft SQL Server belongs to the Hub load_customer_hub. It has relationships to two Satellites of this Hub: load_customer_sat with the role CUSTOMER holds the customer name, and load_caching_hashing with the role CUSTOMER_Hashing holds the address. Persist Validity is false. The loads deliver these customers:

  • Load 1 on 2026-10-28 08:00: customer 1 Contoso Ltd at Bahnhofstrasse 1 and customer 2 Fabrikam AG.
  • Load 2 on 2026-10-29 08:00: customer 1 is renamed to Contoso Group, and customer 3 Northwind arrives.
  • Load 3 on 2026-10-30 08:00: customer 1 moves to Hardturmstrasse 100.
  • Load 4 on 2026-10-31 08:00: no change.

Check the result

Query the result view with the business key of the Hub, here in the schema p2:

SELECT h.CUSTOMER_ID, p.BG_ValidFromTimestamp, p.BG_ValidToTimestamp,
       p.CUSTOMER_BG_ValidFromTimestamp,
       p.CUSTOMER_Hashing_BG_ValidFromTimestamp
FROM p2.RDV_PIT_customer_based_on_hub_Result AS p
JOIN p2.RDV_HUB_load_customer_hub_Result AS h
  ON h.Hub_HK = p.PIT_HK
ORDER BY h.CUSTOMER_ID, p.BG_ValidFromTimestamp;

This is the result after load 4, with the column names and timestamps shortened:

ID  ValidFrom         ValidTo           CUSTOMER          CUSTOMER_Hashing
1   2026-10-28 08:00  2026-10-29 08:00  2026-10-28 08:00  2026-10-28 08:00
1   2026-10-29 08:00  2026-10-30 08:00  2026-10-29 08:00  2026-10-28 08:00
1   2026-10-30 08:00  9999-12-31 00:00  2026-10-29 08:00  2026-10-30 08:00
2   2026-10-28 08:00  9999-12-31 00:00  2026-10-28 08:00  2026-10-28 08:00
3   2026-10-29 08:00  9999-12-31 00:00  2026-10-29 08:00  2026-10-29 08:00

The PIT gets its rows from the start times of the satellite versions. This is the timeline of customer 1; solid arrows lead to the next satellite version or PIT row:

Points in time of customer 1, from left to right. The name satellite has the versions Contoso Ltd from 10-28 and Contoso Group from 10-29. The address satellite has the versions Bahnhofstrasse 1 from 10-28 and Hardturmstrasse 100 from 10-30. The PIT has a row at each of these start times: 10-28, 10-29 and 10-30. Each row uses the latest version of each satellite that started at or before it.

  • Customer 1 has three points in time: the first load, the new name and the new address. At 2026-10-29 the PIT references the new name version and still the first address version.
  • Load 4 changed no satellite and inserted no PIT row.

Platform differences

The rules for names, loaders, deployment, platform properties and defaults are in Model object types on each platform. The PIT has no further platform differences.

Limitations

  • All related satellites must belong to the same Hub or Link. See Relationships from PIT (Business Rule).
  • A PIT has exactly one dataflow. A relationship to the Hub or Link itself raises a validation error.
  • A Current View or History View that maps the DrivingKeyLink_HK of a Driving Key Link cannot read a PIT.

Related articles