U2 7890 then VY 1061 at Schiphol
Málaga → Amsterdam → Barcelona
Timetable, Amsterdam time
21:45U2 7890 from Málaga at the gate
19:05VY 1061 to Barcelona leaves the gate
21 h 20 apart on the timetable, overnight
VY 1061 leaves 21 h 20 after U2 7890 arrives on the timetable: more than half a day, so not a connection we count.