Incremental
Examples of using Sling to incrementally load data from databases to databases
New Data Upsert
source: postgres
target: snowflake
defaults:
mode: incremental
primary_key: id
update_key: updated_at
object: new_schema.{stream_schema}_{stream_table}
streams:
public.orders:
# Will only load records where updated_at is greater than the max value in target
public.customers:
primary_key: [customer_id] # Override default primary key
update_key: last_modified # Override default update keyFull Data Upsert
Append Only
Custom SQL
Incremental Chunking
Using SLING_STATE
Delete Missing Records (Soft / Hard)
Hard Delete Example
Soft Delete Example
Last updated
Was this helpful?