Implement ROW_NUMBER/RANK within GROUP4 followers
We frequently have use cases that involve ranking within groupings according to certain metrics, for example, showing a most watched TV programme per channel, ordering models by their probability per customer etc, but I cannot figure out how to do this within Datameer. Any help would be much appreciated.
What I am looking for looks a bit like this in SQL-like language:
row_number() over (partition by X order by N1 asc, N2 desc)