Details
-
Improvement
-
Status: Resolved
-
Normal
-
Resolution: Fixed
-
None
Description
Now that Cassandra support aggregate functions, it makes sense to support GROUP BY on the SELECT statements.
It should be possible to group either at the partition level or at the clustering column level.
SELECT partitionKey, max(value) FROM myTable GROUP BY partitionKey; SELECT partitionKey, clustering0, clustering1, max(value) FROM myTable GROUP BY partitionKey, clustering0, clustering1;
Attachments
Issue Links
- depends upon
-
CASSANDRA-11603 PER PARTITION LIMIT does not work properly for SinglePartition
- Resolved
-
CASSANDRA-11669 RangeName queries might not return all the results
- Resolved
- is depended upon by
-
CASSANDRA-11871 Allow to aggregate by time intervals
- Resolved