title: Difference in dense rank and row number in spark
body: <p>I tried to understand the difference between dense rank and row number.Each new window partition both is starting from 1. Does rank of a row is not always start from 1 ? Any help would be appreciated </p>