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 2012/11/03 21:45:12 UTC

[jira] [Commented] (CASSANDRA-4903) CompositeType.getString is broken

    [ https://issues.apache.org/jira/browse/CASSANDRA-4903?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13490091#comment-13490091 ] 

Jonathan Ellis commented on CASSANDRA-4903:
-------------------------------------------

Testing:

{noformat}
cqlsh:keyspace1> create table indexed1 (key int primary key, i int, j int);

cqlsh:keyspace1> insert into indexed1(key, i, j) values (0, 1, 2);
cqlsh:keyspace1> insert into indexed1(key, i, j) values (1, 1, 3);
cqlsh:keyspace1> insert into indexed1(key, i, j) values (2, 1, 4);

cqlsh:keyspace1> create index on indexed1(i);

cqlsh:keyspace1> select * from indexed1 where i = 1;
{noformat}
                
> CompositeType.getString is broken
> ---------------------------------
>
>                 Key: CASSANDRA-4903
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4903
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>            Reporter: Jonathan Ellis
>            Assignee: Sylvain Lebresne
>            Priority: Minor
>             Fix For: 1.2.0
>
>
> Adding this line to the start of getIndexedIterator causes exceptions:
> {code}
>         if (logger.isDebugEnabled())
>             logger.debug("Most-selective indexed predicate is on {}", baseCfs.getComparator().getString(primary.column_name));
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira