drt docs acme-analytics
drt 0.9.1
Syncs / inventory_to_pg

inventory_to_pg

Warehouse inventory deltas.

ops

Last run
2026-07-09T19:15:00Z · success
77 rows
Configuration
source: bq_prod · mode: incremental
→ postgres (public.inventory)

Definition

syncs/inventory_to_pg.yml YAML · 13 lines
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
name: inventory_to_pg
description: "Warehouse inventory deltas."
tags: [ops]
model: ref('inventory_deltas')
destination:
  type: postgres
  host_env: DEMO_PG_HOST
  dbname: acme_app
  table: public.inventory
  upsert_key: [sku]
sync:
  mode: incremental
  cursor_field: changed_at

State

last_sync_at2026-07-09T19:15:00Z
last_cursor_value2026-07-09T19:00:00Z
rows_synced77
last_statussuccess
last_error