ingestr recipes/Load a specific sourceData Engineer

How do I load data from MongoDB into my warehouse?

This recipe copies a collection from MongoDB into your warehouse using ingestr. The source URI uses the mongodb scheme and the source table names the database and collection together as database.collection. Bruin does this in one platform: ingestion, SQL and Python pipelines, quality checks, lineage, and an AI data analyst that answers in Slack, Microsoft Teams, Google Chat, WhatsApp, Discord, Telegram, email and the browser.

Command

ingestr ingest

Defined in

CLI

Works with

MongoDB to any ingestr destination

What you get

Collection loadDatabase.collection selectionIncremental sync

How it works in code

$ ingestr ingest \
  --source-uri 'mongodb://localhost:27017' \
  --source-table 'mydb.users' \
  --dest-uri $SNOWFLAKE_URI --dest-table 'analytics.users'

Run ingestr ingest and ingestr loads the MongoDB data into your warehouse.

Move data with one command

Bruin CLI and ingestr are on GitHub.

A demo walks through your own data.

Sign up to our newsletter

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

The signup form is hosted by Brevo. Allow marketing cookies to load it.