cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stu Hood (JIRA)" <j...@apache.org>
Subject [jira] Created: (CASSANDRA-1205) Unify Partitioners and AbstractTypes
Date Thu, 17 Jun 2010 23:13:22 GMT
Unify Partitioners and AbstractTypes
------------------------------------

                 Key: CASSANDRA-1205
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1205
             Project: Cassandra
          Issue Type: Improvement
            Reporter: Stu Hood
             Fix For: 0.8


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|https://issues.apache.org/jira/browse/CASSANDRA-767?focusedCommentId=12841565&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12841565]
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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message