-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
source-mongodb: merge deletion events
This adds the (conditional) reduction strategy to deletion events to merge them into existing documents. For materializations using soft deletions, this will have the effect of only updating the `_meta/op` column to `"d"` for the materialized row, instead of removing all of the values from other non-key columns. This will make soft deletions for MongoDB-captured collections work the same way as other CDC connectors, while still using the top-level "last write wins" reductions strategy for other events, most notably updates, where we don't emit explicit `null` values for removed fields (yet).
- Loading branch information
1 parent
210aa06
commit 0756999
Showing
4 changed files
with
13 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters