【发布时间】:2013-08-20 05:03:41
【问题描述】:
下面的 CQL 查询导致错误提示
使用等于运算符的 by-columns 子句中不存在索引列
请注意,age 列已被二级索引。
select * from employee where age > 25
但是我有另一个二级索引列type。所以当我用那个...
select * from employee where type='engineer' and age > 25
我似乎得到了正确的结果。
这是怎么发生的?
【问题讨论】: