You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cassandra.apache.org by Pushkar Prasad <pu...@airtightnetworks.net> on 2013/03/08 07:22:02 UTC
Use several non primary key column in Cassandra, and use Pycassa for inserts
My requirement is to have a column family like the following:
mac_ap text,
proto int,
stime int,
total_data int,
total_assoc int,
location_id int,
location_name text
PRIMARY KEY(mac_ap, proto, stime)
I don't think COMPACT STORAGE allows this. Also, I want to use pycassa. Is
there any way with which I can achieve the above using Cassandra 1.2 and
Pycassa? I want to insert lots of rows into the above column family, hence
pycassa.