The water will drain from the roof via downpipes which are concealed in the legs of the pergola and discharge at the base.