Details
-
Improvement
-
Status: Resolved
-
Normal
-
Resolution: Later
-
None
-
None
-
None
Description
There is no good reason for Partitioners to have different semantics than AbstractTypes. Instead, we should probably have 2 partitioners: Random and Ordered, where the Ordered partitioner requires an AbstractType to be specified, defaulting to BytesType.
One solution suggested by jbellis is to have AbstractType generate a collation id (essentially, a Token) for a set of bytes.
Looking forward, we should probably consider laying the groundwork to add native support for compound row keys here as well.
Attachments
Attachments
Issue Links
- is related to
-
CASSANDRA-1034 Remove assumption that Key to Token is one-to-one
- Resolved
-
CASSANDRA-2311 type validated row keys
- Resolved