Details
-
Improvement
-
Status: Open
-
Normal
-
Resolution: Unresolved
-
None
Description
Currently , cql3 doesn't provide a cardinality function for collection types. It'll be great to have one:
select content, cardinality(like_set),cardinality(dislike_set) from comments where id=?;
or size as keyword
select content, size(like_set),size(dislike_set) from comments where id=?;
Something similar in SQL is cardinality of nested tables .
Attachments
Issue Links
- is duplicated by
-
CASSANDRA-7230 Add a size() function to return the number of elements in a collection
- Resolved