[
https://issues.apache.org/jira/browse/CASSANDRA-13003?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15723792#comment-15723792
]
Aleksey Yeschenko commented on CASSANDRA-13003:
-----------------------------------------------
It would, kind of, but ideally needs support for several things first.
One would be CASSANDRA-6506, another would be CASSANDRA-7826, both not on the
immediate radar.
> Support a map of counters
> -------------------------
>
> Key: CASSANDRA-13003
> URL: https://issues.apache.org/jira/browse/CASSANDRA-13003
> Project: Cassandra
> Issue Type: Improvement
> Components: Core
> Reporter: Andrew Voumard
> Priority: Minor
>
> Would it be possible to support the dynamic addition of counters, by
> supporting a map of counters ? This would make it easier to support
> situations where counters could be added more dynamically (where their names
> are not known at design time).
> If it makes it any easier, I would expect it to be ok if the current
> restriction of not being able to delete a counter remains, meaning requests
> to remove an item from the map would be ignored or return an error.
> I expect it would be possible to synthesize this feature without impacting
> the core code, by dynamically adding counter columns via dynamic schema ALTER
> statements, creating something like <map_name>-<counter_name> columns on
> demand, effectively wrapping the dynamic column addition, but native cql
> support would make this task simpler.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)