I have a table with this setup:
...
PRIMARY KEY (id, "requestId", "createdAt")
) WITH CLUSTERING ORDER BY ("requestId" ASC, "createdAt" DESC)
So when I run CQL like:
SELECT * from "Table" WHERE "requestId"='someId'
Should I get results ordered by createdAt DESC? That's what I would expect, but I'm new to Cassandra and am not sure about how this works.
What I want to achieve is to retrieve all records that belong a certain requestId, ordered by creation date DESC.
How do I do this?