AnalyticsCreator Docs Preview

Missing records and future history

On this page
  1. Missing source records
  2. Future history
  3. Review checklist

Historization policies determine how existing history reacts to missing or out-of-order source records.

Missing source records

Option Meaning
Close Close the current history version at the historization date.
Do not close Keep the current history version open although its source record is absent.
Add empty record Close the current version and add a replacement using the configured per-column values.

For Add empty record, values can be retained from the closed record or assigned according to the column configuration. For example, an inventory record can retain product and warehouse attributes while its quantity becomes zero. This represents absence explicitly instead of leaving the last nonzero quantity current.

An entirely empty source has separate Continue, Stop with error and Stop without error options. The error guard is conditional, as described in the configuration article; do not assume every empty source always raises an error. These options are distinct from the policy for one missing record.

Future history

For normal keyed historization, Delete future history if it exists uses ValidFrom existing keys as the boundary for each existing source key. The expression can read a source date. Rows at or after that boundary are removed for that key; the last retained version spanning the boundary is reopened. The same evaluated date is used to close/insert the replacement version, including when rollback removes every old version.

Source and history filters qualify the cleanup. Keys absent from the filtered source are not rolled back by a source-derived date. A NULL date falls back to the run timestamp. If duplicate checking is disabled, multiple source rows for a key use the earliest evaluated date. ValidFrom new keys remains a separate initial-load policy and is not used as a rollback date for existing keys.

Without an existing-key date expression, the existing run-time cleanup remains. Insert-only and source-history reuse do not perform this rollback. Both inclusive validity and half-open validity modes are handled. Review generated SQL with late-arriving rows and your actual expressions before deployment.

Review checklist

Review the date expression, missing-record policy and per-column replacement values together. Confirm the intended meaning of absence in the source system; a partial extract is not necessarily a business deletion.

This article explains the confirmed policy semantics. Mode-specific SQL branches and date-boundary precision require further reference coverage.

Metadata and generated artifacts

Use the late-arriving history test scenario to review date boundaries and unrelated-key behavior.

Search documentation