FR 574 then FR 878 at Barcelona
Bologna → Barcelona → Venezia
Timetable, Barcelona time
11:20FR 574 from Bologna at the gate
08:30FR 878 to Venezia leaves the gate
21 h 10 apart on the timetable, overnight
FR 878 leaves 21 h 10 after FR 574 arrives on the timetable: more than half a day, so not a connection we count.