You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "nivance (JIRA)" <ji...@apache.org> on 2013/11/05 12:31:18 UTC
[jira] [Updated] (CASSANDRA-6300) the problem of column family and
table use compositetpye as row key
[ https://issues.apache.org/jira/browse/CASSANDRA-6300?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
nivance updated CASSANDRA-6300:
-------------------------------
Labels: compositetpye (was: )
> the problem of column family and table use compositetpye as row key
> -------------------------------------------------------------------
>
> Key: CASSANDRA-6300
> URL: https://issues.apache.org/jira/browse/CASSANDRA-6300
> Project: Cassandra
> Issue Type: Bug
> Components: API
> Environment: cassandra2.0.1 and hector
> Reporter: nivance
> Labels: compositetpye
>
> h2.The following two scripts 's content is the same but use cassandra-cli and cql.
> h2.cassandra-cli script is :
> {quote}
> create column family gameinfo with comparator = 'UTF8Type'
> and key_validation_class = 'CompositeType(UTF8Type, UTF8Type)'
> AND default_validation_class = UTF8Type
> and column_metadata=[
> {column_name: ltype, validation_class: UTF8Type}
> ]
> with read_repair_chance=0.1
> and dclocal_read_repair_chance=0.5;
> {quote}
> h2.cql script is :
> {quote}
> CREATE TABLE gameinfo (
> key1 text,
> key2 text,
> ltype text
> PRIMARY KEY ((key1, key2))
> ) ;
> {quote}
> h2.I can insert data use compositetpye as row key when using cassandra-cli script, but failed using the cql script.
> So, I think this maybe a bug.
--
This message was sent by Atlassian JIRA
(v6.1#6144)