ingestr recipes/Incremental loads by warehouseData Engineer

How do I upsert changed rows when loading into MySQL with ingestr?

Point ingestr at a MySQL destination URI and pass the merge strategy to upsert changed rows. ingestr handles the schema and the incremental logic, so there is no custom merge code for MySQL.

Command

ingestr ingest

Defined in

CLI

Works with

MySQL + ingestr

What you get

merge strategyauto schemaone command

How it works in code

$ ingestr ingest \
  --source-uri $SRC \
  --dest-uri mysql://... \
  --incremental-strategy merge

Run ingestr ingest and ingestr applies the merge strategy into MySQL 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.