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

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/ssh/2.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中列空间中的多个列_Cassandra_Cql_Cqlsh - Fatal编程技术网

按值删除cassandra中列空间中的多个列

按值删除cassandra中列空间中的多个列,cassandra,cql,cqlsh,Cassandra,Cql,Cqlsh,我有一个cassandra列族来保存一个带有时间戳的值,如下所示 KEY | 0001 | 0002 | 0003 | 0005 | 0008 | 0011 | ... Value | t_1 | t_2 | t_1 | t_3 | t_1 | t_2 | ... 我想编写一个cql查询来删除列族中的所有列记录 示例:用于删除值等于t_2的所有列的查询。它应该删除0002和0011列

我有一个cassandra列族来保存一个带有时间戳的值,如下所示

KEY   | 0001 | 0002 | 0003 | 0005 | 0008 | 0011 | ...
Value | t_1  | t_2  | t_1  | t_3  | t_1  | t_2  | ...
我想编写一个cql查询来删除列族中的所有列记录

示例:用于删除值等于t_2的所有列的查询。它应该删除0002和0011列