Hi, I am newbie to Cassandra. I have to find out top 10 recent trends in data
I have schema as follows create table trends( day int, data1 text, data2 map<int, decimal>, PRIMARY KEY (day, data1)) ; I have to take count of duplicate values in data1 so that i can find top 10 data1 trends. 1. I tried adding an counter column, but again you can't use order by clause on counter column. 2. I tried using where clause