Details
-
New Feature
-
Status: Resolved
-
Normal
-
Resolution: Fixed
Description
The requirement is to do aggregation of data in Cassandra (Wide row of column values of int, double, float etc).
With some basic agree gate functions like AVG, SUM, Mean, Min, Max, etc (for the columns within a row).
Example:
SELECT * FROM emp WHERE empID IN (130) ORDER BY deptID DESC;
empid | deptid | first_name | last_name | salary
--------------------------------------
130 | 3 | joe | doe | 10.1
130 | 2 | joe | doe | 100
130 | 1 | joe | doe | 1e+03
SELECT sum(salary), empid FROM emp WHERE empID IN (130);
sum(salary) | empid
------------+-------
1110.1 | 130
Attachments
Attachments
Issue Links
- is duplicated by
-
CASSANDRA-6644 CQL: Select every nth row within the same partition key
- Resolved
- is related to
-
CASSANDRA-8214 Select Count(*) on empty table does not return 0 in trunk
- Resolved
-
CASSANDRA-8216 Select Count with Limit returns wrong value
- Resolved
-
CASSANDRA-12417 Built-in AVG aggregate is much less useful than it should be
- Resolved
-
CASSANDRA-5184 Support server side operations on evaluating queries
- Resolved
-
CASSANDRA-7168 Add repair aware consistency levels
- Open
-
CASSANDRA-8826 Distributed aggregates
- Open
-
CASSANDRA-8827 Aggregate sampling
- Resolved
- relates to
-
CASSANDRA-8090 NullPointerException when using prepared statements
- Resolved
-
CASSANDRA-8053 Support for user defined aggregate functions
- Resolved