Idempotent Imports and Error Handling
1.5 · Lesson

Idempotent Imports and Error Handling

An import script is only useful if you can trust it. If running the same script twice creates duplicate Full definition for node (opens in a new tab)A vertex in a graph. In a property graph it can carry labels and properties. or fails halfway through, you cannot recover from errors with confidence. The goal is to build imports that are idempotent —producing the same result whether they run once or ten times.

The difference between Copy and Copy is the core of idempotent imports: