Cassandra CQL 查询使用 ORDER BY ASC 和 LIMIT 给出错误

Cassandra CQL query giving error with ORDER BY ASC and LIMIT

我创建了一个具有以下配置的 Cassandra table:

CREATE TABLE "ABC" (
    subsector text,
    marketcapital decimal,
    id text,
    PRIMARY KEY (subsector, marketcapital, id)
) WITH CLUSTERING ORDER BY ( marketcapital DESC, id ASC )

Datastax 开发中心 运行 上的 CQL 查询出错:

select * from "ABC" where subsector='10010' and marketcapital > 50717820.457485 ORDER BY marketcapital ASC  LIMIT 3

执行上述查询时出现以下错误:

带有 LIMIT 关键字的 ORDER BY ASC 似乎出错。

这似乎是 Datastax 开发中心的一个问题,因为当我 运行 使用 cqlsh 进行相同的查询时工作正常。

最可能的原因是开发中心正在使用一些旧版本的 CQL 规范,因为发生了这个错误。