DY 2030 then FR 4626 at Arlanda
Riga → Stockholm → Krakow
Timetable, Stockholm time
07:40DY 2030 from Riga at the gate
20:35FR 4626 to Krakow leaves the gate
12 h 55 apart on the timetable
FR 4626 leaves 12 h 55 after DY 2030 arrives on the timetable: more than half a day, so not a connection we count.