Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如果我在 cassandra 中有一个表,其架构如下所示:
名称 varchar
电子邮件列表(文本)
如果我有每个名称的电子邮件地址列表,我如何获取用户列表的大小?就像 user1 有 e1@yahoo.com 和 e2@gmail.com 一样。该列表将包含这两封电子邮件。我想要的是它为用户拥有的电子邮件数量返回 2。我正在使用 Cassandra 2.0。
CQL https://issues.apache.org/jira/browse/CASSANDRA-5313中没有对此的语法支持