Hi, I'm trying to order all tables based on the timestamp desc but it's not working properly. Here is my code for creating the table and the result I'm getting:
CREATE TABLE IF NOT EXISTS ${cassandraKeyspace}.${cassandraTableName} ( ${cassandraDateColumn} timestamp, month_year_index text, dataMap map<text, float>, PRIMARY KEY ((month_year_index), ${cassandraDateColumn}) ) WITH CLUSTERING ORDER BY (${cassandraDateColumn} DESC)`
These rows that I inserted to test should be at the bottom of the table and the most recent ones should be at the top. What do I need to change to make this happen? It is ordering but not properly, maybe something to do with the primary key?