ingestr recipes/Incremental loading strategiesData Engineer

How do I upsert changed rows with ingestr?

Pass the merge strategy to ingestr to upsert on a primary key. One flag changes how the data lands, with no custom merge code to write.

Command

ingestr ingest

Defined in

CLI

Works with

Any ingestr source and destination

What you get

Incremental strategiesone flagno merge code

How it works in code

$ ingestr ingest \
  --source-uri $SRC --dest-uri $DST \
  --incremental-strategy merge

Run ingestr ingest and ingestr applies the merge strategy on every run.

Move data with one command

Open source. Source URI in, destination URI out, incremental by default.

Sign up to our newsletter

Practical updates on open-source data pipelines, AI analysts, governance, and what we are shipping at Bruin.