I am trying to come up with a data model that works for my situation. I have the following columns: runid, stat1, stat2, stat3.
I will be querying based on runid (ex. select * from table where runid=123) but runid will have repeated values so I cant just make it a primary key. Also, when querying I do not know anything about stat1-3 so I cannot make those columns a part of the primary key either.
(Background: My Cassandra instance is populated by another program and my program will just pull information specific to a particular runid from it and display it on a screen)
This seems like a common enough scenario but I'm new to Cassandra. I know runid needs to be a part of the primary key since I have to run queries based on it but it has repeated values.
Any suggestions?