Deferred Merge
Overview
Deferred Merge package nodes are a simplified implementation of a Lambda architecture, focusing on the integration of an ongoing real-time or near real-time updates with previously loaded data.
Installation
- Copy the Package ID:
@coalesce/snowflake/deferred-merge - In Coalesce, open the Workspace where you wish to install the package.
- Go to the Build Setting of the Workspace, tab Packages, and click the Install button on the top right of the page.
- Paste the Package ID, and proceed with the installation process.
Description
Snowflake - Deferred Merge - Brief Summary
- Deferred Merge - Append Stream Streamlines high-frequency data ingestion by capturing incremental changes (CDC) from source tables or views. These nodes efficiently stage new records, updates, and deletes into a buffer, providing the necessary agility for real-time pipelines while shielding large base tables from the performance overhead of constant micro-partition rewrites.
- Deferred Merge - Delta Stream Manages the intermediate delta layer by processing change streams into a queryable, state-aware buffer. By handling record versioning and complex DML logic natively, these nodes ensure that the most recent record states are immediately available via hybrid views, maintaining a "single source of truth" while deferring heavy-duty merge operations to optimized, lower-frequency schedules.
Nodetypes Config Matrix
| Category | Feature | Append Stream | Delta Stream |
|---|---|---|---|
| General | Development Mode | ✅ | ✅ |
| General | Create Target As (Table/Transient) | ✅ | ✅ |
| Stream | Source Object | ✅ | ✅ |
| Stream | Show Initial Rows | ✅ | ✅ |
| Stream | Redeployment Behavior | ✅ | ✅ |
| Loading | Table Keys (Business Keys) | ✅ | ✅ |
| Loading | Record Versioning (Latest Tracking) | ✅ | ✅ |
| DML Ops | Column Identifier | ✅ |