cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tyler Patterson (Created) (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CASSANDRA-4002) cqlsh: error when selecting on certain column families
Date Tue, 06 Mar 2012 02:49:57 GMT
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


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

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