Benedict created CASSANDRA-6917:
-----------------------------------

             Summary: enum data type
                 Key: CASSANDRA-6917
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-6917
             Project: Cassandra
          Issue Type: Improvement
          Components: Core
            Reporter: Benedict
            Priority: Minor


It seems like it would be useful to support an enum data type, that 
automatically converts string data from the user into a fixed-width data type 
with guaranteed uniqueness across the cluster. This data would be replicated to 
all nodes for lookup, but ideally would use only the keyspace RF to determine 
nodes for coordinating quorum writes/consistency.

This would not only permit improved local disk and inter-node network IO for 
symbology information (e.g. stock tickers, ISINs, etc), but also potentially 
for column identifiers also, which are currently stored as their full string 
representation.

It should be possible then with later updates to propagate the enum map 
(lazily) to clients through the native protocol, reducing network IO further.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to