cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Ellis (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CASSANDRA-4903) CompositeType.getString is broken
Date Sat, 03 Nov 2012 20:45:12 GMT

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

Jonathan Ellis updated CASSANDRA-4903:
--------------------------------------

          Description: 
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}


  was:
{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}

             Priority: Minor  (was: Major)
    Affects Version/s:     (was: 1.2.0 beta 1)
        Fix Version/s:     (was: 1.2.0 beta 2)
                       1.2.0
              Summary: CompositeType.getString is broken  (was: index query on composite columns
are broken)
    
> 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

Mime
View raw message