Jonathan Ellis created CASSANDRA-4903:
-----------------------------------------

             Summary: index query on composite columns are broken
                 Key: CASSANDRA-4903
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4903
             Project: Cassandra
          Issue Type: Bug
          Components: Core
    Affects Versions: 1.2.0 beta 1
            Reporter: Jonathan Ellis
            Assignee: Sylvain Lebresne
             Fix For: 1.2.0 beta 2


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

--
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

Reply via email to