【发布时间】:2012-06-07 23:22:18
【问题描述】:
我正在使用 Cassandra 1.1.0 和 CQL 3.0。
创建表时出现如下错误。 我提到了http://www.datastax.com/dev/blog/cql3-evolutions
cqlsh:test> CREATE TABLE timeseries (
... event_type text,
... insertion_time timestamp,
... event blob,
... PRIMARY KEY (event_type, insertion_time)
... ) WITH CLUSTERING ORDER BY insertion_time DESC;
Bad Request: line 6:22 mismatched input 'ORDER' expecting '='
这是无效的查询吗? 你有什么建议吗?
谢谢。
【问题讨论】: