I just started to learn about Cassandra and I have a pretty specific question. After looking at some videos and tutorials in my understanding there is 1 primary that includes partition keys and clustering keys.
So my question is: If I have some data that looks like this:
Unit: (unit_id, unit_name, unit_description)
and I want to save units working hours that look like:
Working hours: (unit_id, day, start_time, end_time)
What would you suggest the data modeling should look like? In addition to that, if I have to get all units that work on Sunday or all units that start at 10:00, what would you suggest to do?