【发布时间】:2013-08-01 04:06:22
【问题描述】:
我知道我可以在通过 cql 创建表时定义聚类顺序,如下代码:
create table test(
id int,
time timestamp,
value text,
primary key(id,time)) with clustering order by (time desc)
但我想在使用 alter 创建表 test 后更改它的集群:
alter table test
with clustering order by (item asc)
但我得到了错误。 感谢您的帮助。
【问题讨论】: