Skip to content
Python ETLMediumofficialBenchmark eligiblepro

Incremental upsert and deletes

The job uses MAX(updated_at) incorrectly and ignores deletions. Target must match source after insert/update/delete batches. Checkpoint only after commit.

FieldDetail
CreatorPipelineArena · expert
Version2.0.0
Time50 min
Credits4
Completion0% · 0.0 rating
Hidden tests4

Objective

Target equals source after two ticks; deletes propagate; second empty run is a no-op.

#Success condition
1Deletes applied
2Unchanged rows not duplicated
3Checkpoint advances only after commit
4Empty second run: identical checksum
#Visible instruction
1Read checkpoint.json and the two extract ticks.
2Apply inserts/updates/deletes.
3Write checkpoint after a successful transaction.
Hidden tests score the final tables or files, not the exact syntax you used. Test implementation is never shown to participants.

Signed-in workspace: Open in app