Hi,
In Week-2 notebook Cassandra Developer Workshop #4 - Data Modelling, there's a table called video_ratings_by_user with the following structure:
// Video ratings by user (to try and mitigate voting multiple times) CREATE TABLE IF NOT EXISTS video_ratings_by_user ( videoid uuid, userid uuid, rating int, PRIMARY KEY (videoid, userid) );
Well, since this is a data modelling practice, isn't that table name misleading?
With the partitioning key videoid, this table doesn't seem to be of much help in retrieving video ratings by user. Have I missed something?