我正在使用 cassandra 1.1.1。但是,每当我使用复合键创建列族时,都会出现如下错误,
java.sql.SQLSyntaxErrorException: line 1:117 mismatched input ')' expecting EOF
at org.apache.cassandra.cql.jdbc.CassandraStatement.
doExecute(CassandraStatement.java:180)
at org.apache.cassandra.cql.jdbc.CassandraStatement.executeUpdate(
CassandraStatement.java:237)
at jdbc.cassandra.JdbcCassandra.main(JdbcCassandra.java:59)
我的查询是CREATE TABLE sblocks (block_id uuid, subblock_id uuid, data blob, PRIMARY KEY (block_id, subblock_id));
有人可以帮我吗?