CODE WORKSPACE

Backfill replay window plan

Identify event partitions that need replay because late or corrected records arrived.

The SQL API will hydrate this workspace with the exercise-specific starter query and schema.

Sample input

source_eventsLate records arrive after their event day; corrections also force replay of the original event partition.
event_idevent_timeingested_atis_correction
5012026-03-02 08:00:002026-03-02 08:01:000
5022026-03-02 10:00:002026-03-05 09:00:000
5032026-03-03 11:00:002026-03-05 10:00:001
5052026-03-04 14:00:002026-03-06 02:00:000

Expected output

Expected outputReplay March 2, 3, and 4 because each has a late or corrected event.
partition_dayrecords_to_replaylatest_arrival_at
2026-03-0212026-03-05 09:00:00
2026-03-0312026-03-05 10:00:00
2026-03-0412026-03-06 02:00:00

Constraints

Load the live SQL exercise to inspect the full prompt, schema, starter query, and expected output.

Expected skills

Backfills, Watermarks, Replay windows

SQL
Loading...

AI evaluation

Run the SQL query to inspect preview rows.