Heatwave to affect parts of country over the weekend