Ubuntu 无法从Cassandra检索数据
退出cli后,我无法从Cassandra检索数据。当我返回到另一个会话中获取数据时,会出现以下错误: org.apache.cassandra.db.marshal.MarshalException:无法将“jsmith”解析为十六进制字节 似乎列族保持不变,键空间也保持不变 我还将密钥格式更改为ascii(假设用户密钥为ascii;)。。。而这也不是固定不变的 有什么原因吗?发生了什么?所有“假定”命令都是临时的,仅限于一个cli会话。对于那些现在没有坐在cli前面的人,我们指的是:Ubuntu 无法从Cassandra检索数据,ubuntu,cassandra,Ubuntu,Cassandra,退出cli后,我无法从Cassandra检索数据。当我返回到另一个会话中获取数据时,会出现以下错误: org.apache.cassandra.db.marshal.MarshalException:无法将“jsmith”解析为十六进制字节 似乎列族保持不变,键空间也保持不变 我还将密钥格式更改为ascii(假设用户密钥为ascii;)。。。而这也不是固定不变的 有什么原因吗?发生了什么?所有“假定”命令都是临时的,仅限于一个cli会话。对于那些现在没有坐在cli前面的人,我们指的是: assu
assume <cf> comparator as <type>;
assume <cf> sub_comparator as <type>;
assume <cf> validator as <type>;
assume <cf> keys as <type>;
Assume one of the attributes (comparator, sub_comparator, validator or keys)
of the given column family match specified type. The specified type will
be used when displaying data returned from the column family.
这在三个方面与“假设”不同:
create column family Users with comparator=UTF8Type and default_validation_class=UTF8Type and key_validation_class=UTF8Type;