AF 362 then U2 3244 at Charles de Gaulle
Riga → Paris → Edinburgh
Timetable, Paris time
20:10AF 362 from Riga at the gate
14:15U2 3244 to Edinburgh leaves the gate
18 h 05 apart on the timetable, overnight
U2 3244 leaves 18 h 05 after AF 362 arrives on the timetable: more than half a day, so not a connection we count.