cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Ellis (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (CASSANDRA-1712) Creating a SuperColumnFamily other than BytesType results in incorrect comparator types
Date Mon, 08 Nov 2010 21:06:11 GMT

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

Jonathan Ellis resolved CASSANDRA-1712.
---------------------------------------

    Resolution: Fixed
      Assignee: Jonathan Ellis  (was: Pavel Yaskevich)

this is working fine for me in latest 0.7 code:

{code}
[default@unknown] create keyspace KS1
cfff16aa-eb7b-11df-b5e1-e700f669bcfc
[default@unknown] use KS1
Authenticated to keyspace: KS1
[default@KS1] create column family CFCli with column_type= 'Super' and comparator= 'LongType'
and subcomparator='UTF8Type'
d4d6684b-eb7b-11df-b5e1-e700f669bcfc
[default@KS1] set CFCli['newrow'][1234567890]['column'] = 'value'
Value inserted.
{code}


> Creating a SuperColumnFamily other than BytesType results in incorrect comparator types

> ----------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-1712
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1712
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Tools
>    Affects Versions: 0.7 beta 3
>         Environment: ubuntu using 0.7.0 beta 3 bin
>            Reporter: Dhaivat Pandit
>            Assignee: Jonathan Ellis
>            Priority: Trivial
>             Fix For: 0.7.0
>
>
> CF 1
>     ColumnFamily: CFCli (Super)
>       Columns sorted by: org.apache.cassandra.db.marshal.LongType/org.apache.cassandra.db.marshal.UTF8Type
>       Subcolumns sorted by: org.apache.cassandra.db.marshal.LongType
> was created with cli using 
> create column family CFCli with column_type= 'Super' and comparator= 'LongType' and subcomparator='UTF8Type'
>  CF 2
>  ColumnFamily: CFYaml (Super)
>       Columns sorted by: org.apache.cassandra.db.marshal.LongType/org.apache.cassandra.db.marshal.UTF8Type
>       Subcolumns sorted by: org.apache.cassandra.db.marshal.LongType
> was created with yaml using 
>   column_families:
>         - name: CFYaml
>           column_type: Super
>           compare_with: LongType
>           compare_subcolumns_with: UTF8Type
> In both cases Subcolumn comparator was defined as UTF8Type but CF was created with subcomparatortype
of LongType

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message