Skip to content

Instantly share code, notes, and snippets.

View andre683's full-sized avatar
🎯
Focusing

Andre Arias andre683

🎯
Focusing
View GitHub Profile
@andre683
andre683 / dataform-incremental-backfill.md
Last active May 23, 2026 00:06
Dataform Pre Operations JS Helper and Incremental Logic with Backfill Option

Dataform Incremental Backfill Pattern

A reusable JavaScript helper for Dataform that adds surgical date-range reprocessing to any incremental model via a CLI compilation variable. No code changes needed, no hardcoded dates to revert.


The helper

Place this in your includes/ directory (e.g. includes/incremental_ops.js).