You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Jonathan Ellis (JIRA)" <ji...@apache.org> on 2011/09/04 05:37:10 UTC

[jira] [Resolved] (CASSANDRA-3132) Import comparator for super column

     [ https://issues.apache.org/jira/browse/CASSANDRA-3132?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jonathan Ellis resolved CASSANDRA-3132.
---------------------------------------

    Resolution: Invalid

"comparator" is used to decode supercolumn names, and the [map, not row] key we are passing to stringAsType represents a supercolumn name, so using metadata.comparator is correct here.

> Import comparator for super column
> ----------------------------------
>
>                 Key: CASSANDRA-3132
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3132
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Tools
>    Affects Versions: 0.8.4
>            Reporter: Zhong Li
>
> The method addToSuperCF in the class org.apache.cassandra.tools.SSTableImport uses key comparator to process super column name. It should use subcolumnComparator. 
>  
> -        AbstractType comparator = metaData.comparator;
> +        AbstractType comparator = metaData.subcolumnComparator;

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira