cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tyler Patterson (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-4002) cqlsh: error when selecting on certain column families
Date Wed, 07 Mar 2012 18:12:57 GMT

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

Tyler Patterson commented on CASSANDRA-4002:
--------------------------------------------

The patch works for me.
                
> cqlsh: error when selecting on certain column families
> ------------------------------------------------------
>
>                 Key: CASSANDRA-4002
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4002
>             Project: Cassandra
>          Issue Type: Bug
>         Environment: ubuntu and osx
>            Reporter: Tyler Patterson
>            Assignee: paul cannon
>
> Here are two examples that produce the error:
> {code}
> CREATE COLUMNFAMILY cf8 (KEY text PRIMARY KEY) WITH default_validation=uuid AND comparator=uuid;
> INSERT INTO cf8 (KEY, '2097887f-53b2-4b89-bfb4-09fea6980d40', 'c3e990b5-238c-46f1-8c88-0267f5a5c446')
VALUES ('76616c7565305f30', '2097887f-53b2-4b89-bfb4-09fea6980d40', 'c3e990b5-238c-46f1-8c88-0267f5a5c446');
> select * from cf8 where KEY='76616c7565305f30';
> {code}
> produces the error: cannot concatenate 'str' and 'bool' objects
> {code}
> CREATE COLUMNFAMILY cf_blob_bool (KEY blob PRIMARY KEY) WITH default_validation=boolean
AND comparator=boolean;
> INSERT INTO cf_blob_bool (KEY, 'True', 'False') VALUES ('76616c7565305f30', 'True', 'False');
> select * from cf_blob_bool where KEY='76616c7565305f30';
> {code}
> produces the error: cannot concatenate 'str' and 'bool' objects

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message