You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Tyler Patterson (Updated) (JIRA)" <ji...@apache.org> on 2012/03/07 19:12:57 UTC

[jira] [Updated] (CASSANDRA-4002) cqlsh: error when selecting on certain column families

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

Tyler Patterson updated CASSANDRA-4002:
---------------------------------------

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

  was:
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 cf7 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

    
> 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