Re: ORDER by support over clustered column of primary key.

2012-10-09 Thread Vivek Mishra
Looks like i got the answer: Composite keys means it now makes sense for CQL to sport the ORDER BY syntax in SELECT queries as well, but it’s still not nearly as flexible as you might be used to, doing ad-hoc queries in SQL. ORDER BY clauses can only select a single column, *and* that column has

ORDER by support over clustered column of primary key.

2012-10-09 Thread Vivek Mishra
Hi, Create a column family: CREATE TABLE altercations ( instigator text, started_at timestamp, ships_destroyed int, energy_used float, alliance_involvement boolean, PRIMARY KEY (instigator,started_at,ships_destroyed);