"create table msg (day timestamp, notes text, primary key(day)) WITH clustering order by (day desc)" always fails with below error:
Bad Request: Only clustering key columns can be defined in CLUSTERING ORDER directive
I have the below insertions made into the table (so when I execute "select * from msg"; here are the results):
2014-09-13 00:00:00Pacific Daylight Time | Sending message
2014-09-13 00:00:00Pacific Daylight Time | Broadcasting message
2014-10-01 00:00:00Pacific Daylight Time | Sending message
2014-09-22 00:00:00Pacific Daylight Time | Broadcasting message
Is there a way for partition key to be sorted asc/desc by default (which can be specified while creating the table)?
Appreciate the help. Thanks
--
Olivier Michallat
Driver & tools engineer, DataStax
To unsubscribe from this group and stop receiving emails from it, send an email to java-driver-us...@lists.datastax.com.