You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Lyuben Todorov (JIRA)" <ji...@apache.org> on 2013/11/05 12:47:31 UTC

[jira] [Updated] (CASSANDRA-6300) the problem of column family and table use compositetype as row key

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

Lyuben Todorov updated CASSANDRA-6300:
--------------------------------------

    Summary: the problem of column family and table use compositetype as row key  (was: the problem of column family and table use compositetpye as row key)

> the problem of column family and table use compositetype 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
>
> h4.The following two scripts 's content is the same but use cassandra-cli and cql.
> h4.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}
> h4.cql script is :
> {quote}
> CREATE TABLE gameinfo (
>   key1 text,
>   key2 text,
>   ltype text
>   PRIMARY KEY ((key1, key2))
>  ) ;
> {quote}
> h4.I can insert data  use compositetpye as row key  when using cassandra-cli script, but failed using the cql script.
> h4.So, I think this maybe a bug.



--
This message was sent by Atlassian JIRA
(v6.1#6144)