You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1.**Idempotency**: Your target writer must handle rerun of same `(DatasetName, Partition, RunId)` without duplication.
354
-
2.**Checkpoint deduplication**: Use all three components `(DatasetName, RunId, Partition)` as the dedup key - use `Partition` column value directly, not parsed from paths.
355
+
1.**Idempotency**: Your target writer must handle rerun of the same effective key without duplication:
- in both cases, use the `Partition` column value directly, not parsed from paths
355
362
3.**Staging pattern**: Use explicit staging layers to ensure atomicity of final write.
356
363
4.**Validation**: Always validate (row count, checksum) before committing checkpoint.
357
-
5.**Checkpoint storage**: Persist `(DataProductName, DatasetName, RunId, Partition, LoadedAt, Status)` in durable storage, using the exact `Partition` value from the index file.
358
-
6.**Test reruns**: Verify that reruns do not increase row counts, and checkpoint prevents re-ingestion of the same `(DatasetName, RunId, Partition)` combination.
359
-
360
-
### Enhancement path B: Add first-class Delta ingestion support
361
-
362
-
Recommended approach:
363
-
364
+
5.**Checkpoint storage**: Persist the effective dedup key plus status metadata in durable storage, using the exact `Partition` value from the index file.
365
+
6.**Test reruns**: Verify that reruns do not increase row counts, and checkpoint prevents re-ingestion of the same effective key.
364
366
1. Add explicit ingestion policy per dataset (`SnapshotOnly`, `DeltaOnly`, `SnapshotPlusDelta`).
365
367
2. For `SnapshotPlusDelta`, process latest snapshot baseline then apply unseen deltas in ordered `RunId`.
366
368
3. Extend checkpoint schema to include `IngestionMode` and optional sequence ordering metadata.
0 commit comments