I've used cassandra quite a bit and even I had to go back and figure out what this primary key means: ((channel_id, bucket), message_id) The primary key consists of partition key + clustering columns, so this says that channel_id & bucket are the partition key, and message_id is the one and only clustering column (you can have more). They also cite the most common cassandra mistake, which is not understanding that yo…
Well, here it is. The partitioning in manual upto the SQL level.