我有一个coulmn家庭如下卡桑德拉1.2:卡桑德拉where子句.could没有找到合适的行
time | class_name | level_log | message | thread_name
-----------------+-----------------------------+-----------+---------------+-------------
121118135945759 | ir.apk.tm.test.LoggerSimple | DEBUG | This is DEBUG | main
121118135947310 | ir.apk.tm.test.LoggerSimple | ERROR | This is ERROR | main
121118135947855 | ir.apk.tm.test.LoggerSimple | WARN | This is WARN | main
121118135946221 | ir.apk.tm.test.LoggerSimple | DEBUG | This is DEBUG | main
121118135951461 | ir.apk.tm.test.LoggerSimple | WARN | This is WARN | main
当我使用这个查询:
SELECT * FROM LogTM WHERE token(time) > token(0);
我什么也没得到!但正如你所看到的所有时间值都大于零!
这是CF模式:
CREATE TABLE logtm(
time bigint PRIMARY KEY ,
level_log text ,
thread_name text ,
class_name text ,
msg text
);
任何机构可以帮助?
谢谢:)
发布您的架构以及您正在使用的分区器。 – Theo
我添加架构以发布 – zsh
为什么使用令牌?如果你用令牌散列0,那么输出不会是0. –