AnalyticsCreator Docs Preview

Choose a persisting mode

On this page
  1. Prerequisites
  2. Mode reference
  3. Full replacement options
  4. Other settings
  5. Procedure
  6. Example
  7. Deployment of generator changes

Object reference: Persisting.

Persisting materializes a transformation result using the selected load strategy.

Prerequisites

Review the transformation result, destination columns and key metadata. Select a persisting Package. An existing package of another type is rejected; a new name creates a persisting package on Save.

Mode reference

Type Generated behavior and constraints
Full Replace destination content. The direct path truncates and inserts; Partition switching and Renaming use a temporary table before replacement.
Merge Reconcile source and destination differences, including deletion. The ordinary branch can remove/reinsert changed rows; the history-aware branch matches surrogate keys and updates ValidTo. This is not an insert-only load.
Historical Requires configured surrogate key, ValidFrom and ValidTo fields. Uses the destination's maximum ValidFrom as a boundary, updates applicable ValidTo values and inserts later versions not already identified by surrogate key.
Incremental (insert-only) Requires Incremental column. Reads its maximum destination value and inserts source rows strictly greater than that value. Equal, smaller and late-arriving values are not selected by this condition.
Incremental (insert and update-only) Computes differences and applies updates/inserts without source-absence deletion. Requires a usable surrogate key or source primary-key mapping in the generator.
Manual Makes Procedure editable and retains the user-defined procedure instead of generating the standard load body.

Historical mode is not a general late-arriving-history repair algorithm: its maximum-date boundary matters. For incremental insert-only, choose a field consistent with an append-only source; an update to an already loaded row is not detected merely because another column changed.

Full replacement options

Partition switching and Renaming are available for Full and mutually exclusive in the editor. Both load a temporary table before replacement. Partition switching requires compatible physical table structures, including column order. Renaming is the owner's recommended alternative when model order and physical column order can diverge after schema changes. This recommendation does not remove other schema/dependency checks.

Other settings

Use transaction, Logging and Update statistics affect generated processing. Transaction handling is per generated operation; do not infer a transaction spanning an entire Deployment run. Review PreScript and PostScript as separate lifecycle configuration.

Remove duplicates requires a configured surrogate-key column or a source primary key and applies to all five generated modes. The load reads the source directly; destination cleanup runs after loading. Source data is not deleted. Manual SQL remains user-owned. See duplicate removal.

Procedure

  1. Choose Type according to replacement, change propagation and deletion requirements.
  2. For Incremental (insert-only), select the incremental column before saving.
  3. For Full, choose direct replacement, Partition switching or Renaming as appropriate.
  4. Review transaction, duplicate and statistics settings.
  5. Click Save. Metadata is committed and procedure text is regenerated with execution disabled; this does not execute the load.
  6. Inspect Procedure, generate/deploy artifacts and test insertion, modification and absence cases separately.

Example

A source receives only new events with increasing EventID. Incremental (insert-only) can use EventID; if the stored maximum is 120, only values above 120 are selected. A correction to event 110 will not be imported by that condition. Use a different strategy if such corrections must propagate.

Deployment of generator changes

Update the repository's generator definitions through the normal application repository-update process, then regenerate and review affected procedures. Updating application files alone does not rewrite procedures already deployed to a warehouse. Test the result in a development target before running production loads.

For key selection, cleanup order and load-time limitations, see Remove duplicates.

Search documentation