incremental-processing
/incremental-processing
Process only new and changed data with watermarks, merge strategies, and a full-refresh escape hatch. Use when full-table rebuilds get slow or costly and models must go incremental.
- Author
- Amey-Thakur ↗
- Repository
- AI-SKILLS ↗
- Licence
- MIT
- Last repository change
- 05.09.2026
Assessment and security
- Files in this package
- 1
- Scripts
- 0
- HTML comments
- 0
- URLs in SKILL.md
- 0
No signals detected. Repository changed on 05.09.2026, without references to retired models or APIs.
MIT, open: use and modify while retaining author attribution.
What it does and when to use it
Process only new and changed data with watermarks, merge strategies, and a full-refresh escape hatch. Use when full-table rebuilds get slow or costly and models must go incremental.
Original author description
Process only new and changed data with watermarks, merge strategies, and a full-refresh escape hatch. Use when full-table rebuilds get slow or costly and models must go incremental.
How it works
- Method
- Boundaries
SKILL.md preview
--- name: incremental-processing description: Process only new and changed data with watermarks, merge strategies, and a full-refresh escape hatch. Use when full-table rebuilds get slow or costly and models must go incremental. --- # Incremental processing Incremental means trading rebuild simplicity for delta bookkeeping. The bookkeeping has exactly three parts: how you detect new data, how you merge it, and how you recover when either is wrong. ## Method 1. **Go incremental at measured pain, not by default.** Full rebuilds are self-healing (every run fixes everything); switch a model only when its build time or cost crosses your threshold. Small dimensions stay full-refresh forever; giant fact and event tables are the incremental candidates. 2. **Detect deltas with a trustworthy cursor.** Options in order of reliability: CDC streams (see change-data-capture), append-only event time with a high-watermark, `updated_at` columns (only if the source actually maintains them: verify, do not assume), else snapshot-diff. Persist the watermark transactionally with the run's success so a crashed run resumes, not skips. 3. **Overlap the watermark for late data.** Reprocess a trailing window (`WHERE event_time > watermark - interval 'N days'`) sized from measured late-arrival distribution (see data-pipeline-design late-data policy). The merge makes the overlap idempotent; the window makes lateness harmless. 4. **Choose the merge by key behavior.** Append-only (immutable events): insert new partitions, cheapest. Upsert/MERGE on unique keys (mutable entities): handles updates, needs the key to truly be unique. Delete+insert by partition: when updates cluster in recent partitions. Deletes at the source need CDC or soft-delete flags; diff-based delete detection at scale is a full scan in disguise. 5. **Keep the full-refresh lever oiled.** Every incremental model must support a forced full rebuild from raw (schema change, logic change, corruption); test it quarterly on the big tables, know its cost and duration. An incremental model without a working full-refresh is one bug away from permanent drift. 6. **Audit for drift on a schedule.** Periodic reconciliation between incremental output and a sampled fresh computation (counts, sums by partition; see data-quality-checks); silent drift from missed deltas is incremental processing's signature failure and it never announces itself. ## Boundaries - Non-additive transformations (window functions over all history, global dedup) resist partition-local incrementality; restructure the model or accept periodic full rebuilds for those layers. - Streaming incremental (continuous) shares the watermark/merge logic with tighter latency and its own engine semantics (see batch-vs-streaming); do not hand-build streaming on cron. - Late data beyond your overlap window is a product decision (restate history or ignore), not an engineering one; get it in writing (see data-retention for restatement policy adjacency).
Versions
The database has no other skills named incremental-processing.
Database snapshot: 13.11.2026 · package version 82e24034b88a (SHA-256 digest of the entire package)
Downloads in the last 30 days: 0 · ranking
Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.
Similar skills
- 100developing-incremental-models
Develops and troubleshoots dbt incremental models. Use when working with incremental materialization for: (1) Creating new incremental models (choosing strategy, unique_key, partition) (2) Task mentions "incremental", "append", "merge", "upsert", or "late arriving data" (3)… - 100incremental-load-setup
Configure incremental load setup operations. Auto-activating skill for Data Pipelines. Triggers on: incremental load setup, incremental load setup Part of the Data Pipelines skill category. Use when working with incremental load setup functionality. Trigger with phrases like… - 90cdc-and-incremental-loading
Guides agents through change data capture and incremental load design. Use when building or modifying watermark-based loads, upserts, deduplication, merge logic, late data handling, or replayable incremental pipelines. - 100aidp-fusion-incremental
Run guarded incremental Fusion refreshes with drift, watermark, plan-hash, and precondition checks. Use for daily deltas, scoped refreshes, resume requests, or incremental-run failures. - 100aidp-fusion-incremental
Turn a natural-language refresh request into a guarded `aidp-fusion-autopilot run --mode incremental` (the daily delta-merge). Parses intent into scope flags (reusing the seed parser with --mode incremental), auto-satisfies preconditions, and runs the incremental-specific… - 95tuning-incremental-sync-config
Change the sync configuration of an existing data warehouse schema — switch sync_type, pick a different incremental_field, set primary_key_columns, choose cdc_table_mode, or change sync_frequency. Use when the user asks "switch my orders table from full refresh to incremental",…