I am new with CQL, please help!
I am trying to find the " Which URL on the website has been accessed the most? How many accesses were made on it?" from a Table, I have created.
The IP values are saved as text here.
To solve the above question, I am trying to use functions to get an aggregate of all the common ips and then pick the maximum one. This is the approach I have in mind and I am refering to http://christopher-batey.blogspot.com/2015/05/cassandra-aggregates-min-max-avg-group.html to understand writing the functions.
It is printing sum for all the urls wherease I am just looking for the maximum one.