An order document in MongoDB does not stay still. It is placed, then shipped, then delivered, and each step rewrites the same document in place. A Databricks table loaded from last night's export holds only one of those states, and closing that gap is what most MongoDB to Databricks pipelines are really for.
The common ways to move the data:
Export files. mongoexport writes JSON files to a cloud bucket, and COPY INTO or Auto Loader loads them. Freshness is hours to daily, and an updated or deleted document only arrives through a full reload or a merge you write yourself.
Debezium and Kafka, read with Structured Streaming . Changes arrive within seconds. In return you run Kafka, Kafka Connect, Debezium and a Databricks job that has to keep running, and the merge logic is yours.
This tutorial builds a third option. OLake Go , an open source (Apache 2.0) replication tool, does change data capture (CDC) from MongoDB change streams and commits each collection as an Apache Iceberg table into Unity Catalog.…