Articles in this section

Understand Celigo sync system columns

Every table that Celigo sync creates includes system columns alongside your source fields — Celigo-managed metadata that supports soft deletes, merge behavior, and run traceability. This article defines each column so you can use them in downstream queries and understand why they appear in your destination tables.

Celigo sync adds up to six system columns: four to every table, and two conditionally.

Columns added to every table

  • _celigo_deleted (Boolean) - The soft-delete flag. Celigo sync doesn't remove rows from the destination, so this is the column downstream consumers filter on to exclude deleted records. Celigo sync fills it wherever the source exposes a soft-delete flag, which today is Salesforce's IsDeleted. Other sources' flags, such as NetSuite's isinactive, land as normal columns you can filter on.
  • _celigo_extracted_at (Timestamp) - When the data was pulled from the source. Set from the sync run's start time, so it's uniform across every row in a run rather than a per-record extraction time.
  • _celigo_loaded_at (Timestamp) - When the row was written to the destination. Evaluated when the row is processed, so unlike _celigo_extracted_at it varies within a single run. Together, the pair gives you source-to-warehouse latency.
  • _celigo_job_id (String, 255) - Which sync run produced the row.

Columns added conditionally

  • _celigo_id (String, 255) - A stable per-row surrogate key. Added unless the table is flat (non-normalized) and already has at least one user-defined primary key. Normalized child tables always get it, because their composite key is built entirely from system-managed columns, so a durable row identity is still needed.
  • _celigo_index (Integer) - The array ordinal for normalized child tables — the position of an element in its source array, giving one row per element. Two behaviors worth knowing:
    • Its primary-key status depends on the ingestion mode: it becomes a primary key only under Merge, and only when the table has no other primary key. Under Append and Replace it is never a primary key.
    • It propagates downward: in grandchild tables it reappears under a prefixed name (for example, Products__celigo_index) to build the composite foreign-key chain back to the root.