Create or open a model
- Open the pipeline’s Transformations tab.
- Select a destination.
- Click New transformation or open an existing row.
- Choose input streams, enter a stable key and output model, and write SQL.
Source references
Usesource() references to read staged source data:
public.orders becomes public__orders. SaaS sources use
names such as stripe__customers; Airtable uses the lowercase table-ID staging
name shown by the editor.
Example
Draft and publish lifecycle
- Save draft stores the SQL without affecting runs.
- Validate draft checks the SQL and output model.
- Preview output executes the valid draft for inspection.
- Publish revision makes it the destination’s active run input.