Skip to main content
Prequel Import supports a variety of sources and makes minimal assumptions about the structure of the data in these sources to maximize compatibility. That said, there are some minimum requirements and optional enhancements that enable efficient change detection and syncing to destinations.

Minimum requirements for source data

Unique row identifier (for example, a primary key)

Every source table must have some unique row identifier. This is needed to trace unique rows through the pipeline and to efficiently detect new and updated records.
The Unique Row Identifier can be a “synthetic” column (such as a concatenation or a hash of some other columns). The only requirement is that it is unique and unchanging.

Updated at timestamp (required for fact tables)

For source tables under ~10 million total rows, Prequel can detect data changes without the use of an explicit Updated At timestamp.

Optional enhancements

Updated at timestamp (optional for dimension tables)

For more efficient change detection or to support volumes greater than 10m total rows, an Updated At column can greatly improve efficiency.
Fact tables require a Updated At column (semantically, this would be synonymous with Created At) as a best practice. If a fact table does not have an Updated At column, it can be treated as a dimension table, but at the cost of lower efficiency.

Lookback window

Incremental syncs track a high watermark: the greatest value of the Dataset’s cursor column read so far. The cursor column is created_at_column for Fact Datasets and last_modified_column for Dimension Datasets that provide a last_modified_column. Each incremental sync includes a 5-minute lookback window before the high watermark to account for eventual consistency in data sources. For object storage Datasets that use meta__file_last_modified, the window applies to each object’s last modified time.
Rows read by the lookback window are not delivered twicePrequel Import compares each row read in the window against the stored copy by primary key and content. Unchanged rows are skipped, and only new or changed rows reach your Destination.

Compatibility grid

Volume limits are based on current performance characteristics and may be revised in the future.