Tag Info

Hot answers tagged


In Cassandra you need to take a query-based modeling approach. In your case, I would create a similarly-structured query table like this: CREATE TABLE topicbyuser ( topic_id text, user_id text, event_time timestamp, data text, PRIMARY KEY (user_id,event_time), ) WITH CLUSTERING ORDER BY (event_time DESC); And then, if you wanted to ...

Only top voted, non community-wiki answers of a minimum length are eligible