Dataset Type
Dimension or Fact. Determines how Prequel Import detects changes.
Dataset Method
Table, SQL, or Glob. Determines how Prequel Import reads from the Source.
1. Dataset Type
A Dataset’s type determines which columns Prequel Import uses to detect changes and whether it can sync incrementally. It applies the same way to every method. See Change Detection for how each type is synced.- Dimension
- Fact
Dimension tables contain rows that may be updated over time. These typically represent entities such as users, products, or accounts. Prequel Import tracks changes and syncs updates to existing records.Configuration fieldsSee the API reference for the full payload.
The column used to uniquely identify records.
The column Prequel Import uses to find rows changed since the last sync. When set, every sync after the first reads only rows modified since the previous run. When unset, every source row is read on each sync. Either way records are merged by
primary_key_column, so this setting controls whether the source read is filtered by time, not whether rows are replaced or removed.A boolean column the Source uses to flag deleted rows. Prequel Import reads this flag and propagates those deletions to the Datalake. Rows that are physically removed from the Source are not detected, whether or not this column is set.
2. Dataset Method
A Dataset’s method determines how Prequel Import reads data from the Source.- Table
- SQL
- Glob
Reads a named table from the Source, addressed by namespace and table name.Configuration fieldsSee the API reference for the full payload.
The namespace (for example schema or database) containing the source table.
The name of the table in the Source.
Creating a Dataset
A Dataset is created withPOST /import/datasets. Along with one type block and one method block from above, every Dataset specifies these common fields.
Configuration fields
See the API reference for the full payload.
A name for the Dataset.
How Prequel Import reads from the Source. One of
table, sql, glob.The type of Dataset. One of
dimension, fact.How often (in minutes) Prequel Import checks this Dataset for changes. Must be at least 1.
Whether the Dataset is enabled. Defaults to true when omitted.
Updating a Dataset
After a Dataset is created, only itsname, frequency_minutes, and is_enabled can be changed, with PATCH /import/datasets/{id}. The type, method, query, and column configuration are fixed when the Dataset is created. To change a query or column mapping, create a new Dataset.