Re: Selecting multiple rows with composite partition keys using CQL3

2013-09-04 Thread Laing, Michael
you could try this. -ml -- put this in and run using 'cqlsh -f DROP KEYSPACE carl_test; CREATE KEYSPACE carl_test WITH replication = { 'class': 'SimpleStrategy', 'replication_factor' : 1 }; USE carl_test; CREATE TABLE carl_table ( app text, name text, ts int, data te

Re: Selecting multiple rows with composite partition keys using CQL3

2013-09-04 Thread Carl Lerche
I can't find a way to do this with the current implementation of CQL3. Are there any plans to add an OR feature to CQL3 or some other way to select a batch of disjoint composite keys? On Fri, Aug 30, 2013 at 7:52 PM, Carl Lerche wrote: > Hello, > > I've been trying to figure out how to port my

Selecting multiple rows with composite partition keys using CQL3

2013-08-30 Thread Carl Lerche
Hello, I've been trying to figure out how to port my application to CQL3 based on http://cassandra.apache.org/doc/cql3/CQL.html. I have a table with a primary key: ( (app, name), timestamp ). So, the partition key would be composite (on app and name). I'm trying to figure out if there is a way to