HV 5132 then KL 1307 at Schiphol
Barcelona → Amsterdam → Gdansk
Timetable, Amsterdam time
16:50HV 5132 from Barcelona at the gate
15:55KL 1307 to Gdansk leaves the gate
23 h 05 apart on the timetable, overnight
KL 1307 leaves 23 h 05 after HV 5132 arrives on the timetable: more than half a day, so not a connection we count.