You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Pavel Yaskevich (Commented) (JIRA)" <ji...@apache.org> on 2012/01/31 20:44:10 UTC
[jira] [Commented] (CASSANDRA-3251) CassandraStorage uses
comparator for both super column names and sub column names.
[ https://issues.apache.org/jira/browse/CASSANDRA-3251?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13197157#comment-13197157 ]
Pavel Yaskevich commented on CASSANDRA-3251:
--------------------------------------------
isSub = 2 lead to key_validator, it should be changed to 3. Wouldn't it be a good idea to set 'AbstractType comparator' instead of 'boolean isSub' in columnToTuple(...)?
> CassandraStorage uses comparator for both super column names and sub column names.
> ----------------------------------------------------------------------------------
>
> Key: CASSANDRA-3251
> URL: https://issues.apache.org/jira/browse/CASSANDRA-3251
> Project: Cassandra
> Issue Type: Bug
> Components: Contrib, Hadoop
> Affects Versions: 0.8.6
> Reporter: Dana H. P'Simer, Jr.
> Assignee: Brandon Williams
> Labels: cassandra, hadoop, pig
> Fix For: 0.8.10
>
> Attachments: 3251-v2.txt, CASSANDRA-3251.patch
>
>
> The CassandraStorage class uses the same comparator for super and sub column names.
> This is because it calls columnsToTuple recursively without any indication that the subsequent call is for sub columns. Also, the getDefaultMarshallers method does not return the sub column name comparator.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira