You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@cassandra.apache.org by mo...@gmail.com on 2009/07/21 18:23:14 UTC

storing comments in cassandra - data model question

I am trying to store comments in a column family
The key would be the url where the comment was made
say '*/showphoto/31*' or some similar key

How would one go about modeling this column family

the comment has the following attributes or columns
1. ip, username, comment

What should be the name of the columns for this column family comments

If someone can share the data-model and the queries to be used in python
thrift api
it would be useful to someone on the cassandra group

Thanks a lot