TECHNOLOGY

Kedro IncrementalDataset confirmation: loading partitions does not advance the processing checkpoint

In this article
THE QUICK TAKE

Incremental checkpoint advancement is explicit; choose the confirming node according to what must have succeeded before later runs skip earlier partitions.

Define what processed means for the workflow

An embedding pipeline reads new partitions and produces vectors, but a later validation step rejects their schema. If the incremental checkpoint advances before that validation, a following run can regard those inputs as already handled under the configured comparison rule. The incremental concepts guide separates loading from explicit confirmation. Decide what success must mean before the workflow records progress: calculation, durable output, schema acceptance or another clearly defined boundary.

Keep reads separate from checkpoint advancement

The IncrementalDataset API defines the checkpoint and confirmation behavior. Loading available partitions does not automatically declare them complete, and ordinary saving is not the confirmation instruction either. This separation permits downstream checks before progress is committed. A task that read its input successfully can therefore fail later without the read alone advancing the incremental checkpoint. Preserve that distinction when interpreting logs that say the dataset was loaded.

Place confirmation after the intended acceptance point

The usage guide describes confirming through a downstream node. Choose that node so the outputs required by the next run are valid and available. Confirmation is not an automatic transaction across arbitrary external side effects. If an output write and the confirmation are separate operations, examine interruption between them. A repeat may need an idempotent output policy, while premature advancement can leave accepted progress without the corresponding usable result.

Do not expect same-run membership to refresh

The documented partition cache keeps the current run’s loaded population consistent across consumers. Confirming does not make later consumers in the same run automatically receive a newly filtered population. That affects tests in notebooks or custom interactive workflows: an unchanged dictionary after confirmation need not mean the checkpoint failed to update. Inspect checkpoint state and a fresh discovery boundary separately. Also preserve the partition comparison convention, since the meaning of past the checkpoint depends on identifiers and the configured comparison function.

Test failure before and after acceptance

Use a small partition set, reject it deliberately in validation and inspect the next run’s eligible population. Then accept it, confirm at the chosen boundary and verify progression through a fresh load. Related guides explain explicit table validation and terminal record consistency. The fixture verifies what progress acknowledges. It does not make the entire workflow exactly once by itself; durable output semantics and recovery between separate operations still require their own explicit design.

Earn rental income from GPUs

Have idle GPUs or looking to fund AI infrastructure? Retrivium finds a rental platform, sets up the server and helps you assess income and costs with a pilot.

Explore GPU hosting
← All articles