Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/cassandra/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
cassandra cql在次键上使用小于运算符删除_Cassandra_Cql - Fatal编程技术网

cassandra cql在次键上使用小于运算符删除

cassandra cql在次键上使用小于运算符删除,cassandra,cql,Cassandra,Cql,我有一张类似的桌子 { CREATE TABLE timeseries ( event_type text, insertion_time timestamp, event blob, PRIMARY KEY (event_type, insertion_time) ) } 我正在努力做到这一点 delete * from timseries where event_type='xxx' and insertion_time <'12345';

我有一张类似的桌子

{
  CREATE TABLE timeseries (
    event_type text,
    insertion_time timestamp,
    event blob,
    PRIMARY KEY (event_type, insertion_time)
  )
}
我正在努力做到这一点

delete * from timseries where event_type='xxx' and insertion_time <'12345';

delete*来自timseries,其中不支持事件类型='xxx'和插入时间No,范围删除

有关什么是支持,请参阅CQL3文档:


首先进行选择,然后删除每个结果。

注意,范围删除(在群集键上)在下一个主要版本(3.0-beta2)中。修补程序最近才被提交到trunk:

谢谢。我希望我在文档中遗漏了一些东西。