The results of large-eddy simulations of open-channel flows over spanwise heterogeneous surface ridges at two representative spanwise spacings are presented. Flows at moderate Froude and Reynolds numbers over smooth channel beds with streamwise-orientated rectangular ridges are considered. The ridge spacing has a profound effect on the flow: at small spacing relatively small secondary cells occur, whilst at large ridge spacing secondary cells occupy the entire flow depth. The instantaneous flow features secondary flow instabilities and the meandering of alternating low- and high-momentum regions. The quasi-periodical nature of the meandering of the instantaneous large-scale motion is visualised and quantified for both ridge spacings. Although time-averaged clockwise and counter-clockwise secondary current cells are symmetrical about the ridge-axis, they exhibit quasi-periodical increase and decrease in size as well as lateral and vertical movement in space over the meandering period.