DY 2030 then FR 4616 at Arlanda
Riga → Stockholm → Gdansk
Timetable, Stockholm time
07:40DY 2030 from Riga at the gate
06:00FR 4616 to Gdansk leaves the gate
22 h 20 apart on the timetable, overnight
FR 4616 leaves 22 h 20 after DY 2030 arrives on the timetable: more than half a day, so not a connection we count.