I have a situation where I need to replicate SQL rank function in mapreduce.
It is similar to this: QUALIFY Row\_number() over(partition by a.column1 order by a.column2 desc, d.column3 desc) =1

Thank you.