I have a table in Cassandra where the key (now looking from a business perspective) is structure like this. Example of a key + values:
Key (exists of 6 columns) Date/value
A | B | C | D | E | F | -> 2000-01 : 100, 2000-02 : 220, ....
A | B | C | D | X | F | -> 2000-01 : 100, 2000-02 : 233, ....
A | B | C | D | Y | F | -> 2000-01 : 111, 2000-02 : 210, ....
A | Z | C | D | E | F | -> 2000-01 : 122, 2000-02 : 230, ....
Each key has a values per certain date or month (the amount of those date/value records per key is very low. Arround 200 for now). However, the amount of the keys is high.
From a business side, it's very unusal to query only for one specific key like A B C D E F. The user will apply only partial filtering like:
* * C D * *
In this case query should return all 6 records. He might also want to filter on the date/month, however, given the low amount of data this is a lower priority.
Since CQL does not allow partial table key filtering (beside the ALLOW FILTERING), I'm not sure how to structure my table. Any ideas? Or is this a case which does not fit well into Cassandra?
THank you