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] [Commented] (CASSANDRA-4903) index query on composite columns are broken
Date Sat, 03 Nov 2012 15:21:12 GMT

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

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

(this does work when WITH COMPACT STORAGE is added to the CREATE TABLE.)
                
> 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

Mime
View raw message