Details
-
New Feature
-
Status: Open
-
Normal
-
Resolution: Unresolved
-
None
-
None
Description
Along with MV (CASSANDRA-6477), time series aggregation or "rollups" are a common design pattern in cassandra applications. I'd like to add CQL support for this along these lines:
CREATE MATERIALIZED VIEW stocks_by_hour AS SELECT exchange, day, day_time(1h) AS hour, symbol, avg(price), sum(volume) FROM stocks GROUP BY exchange, day, symbol, hour PRIMARY KEY ((exchange, day), hour, symbol);
Attachments
Issue Links
- requires
-
CASSANDRA-9810 Lift some counters limitations in C* 3.X
- Open