public.orders into analytics.orders_live.
1. Prepare the destination
Create the destination table before configuring the pipeline:2. Create connections
Create and test:- PostgreSQL source connection with read access to
public.orders - PostgreSQL destination connection with write access to
analytics.orders_live
3. Create the pipeline
- Open Data Pipelines.
- Create a new pipeline named
Orders to Analytics. - Select the source connection.
- Open the builder.
4. Configure Source
- Open the Source node.
- Discover schema or refresh tables.
- Include
public.orders. - Preview source rows.
5. Configure Destination
- Open the Destination node.
- Select the destination connection.
- Keep sync mode as
FULL_TABLEfor the first run. - Keep write mode as
Upsert.
| Rule | Table | Column | Target |
|---|---|---|---|
| Rename | public.orders | status | order_status |
| Cast | public.orders | total_amount | numeric |
6. Write the SQL model
In the SQL Layer tab, set final delivery table toanalytics.orders_live and use:
7. Run and verify
Run manually from the Destination node. Then check run history for:- success status
- rows written
- delivery target
analytics.orders_live - warnings
8. Move to Incremental
After the manual Full Table run succeeds:- Switch sync mode to
INCREMENTAL. - Enter replication key
updated_at. - Save.
- Run manually again.
- Add a schedule.