ORDER BY reloaded, cassandra
问题 A given column family I would like to sort and to this I am trying to create a table with the option CLUSTERING ORDER BY. I always encounter the following errors: 1.) Variant A resulting in Bad Request: Missing CLUSTERING ORDER for column userid Statement: CREATE TABLE test.user ( userID timeuuid, firstname varchar, lastname varchar, PRIMARY KEY (lastname, userID) )WITH CLUSTERING ORDER BY (lastname desc); 2.) Variant B resulting in Bad Request: Only clustering key columns can be defined in