You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Matthew F. Dennis (JIRA)" <ji...@apache.org> on 2010/11/05 09:05:42 UTC
[jira] Commented: (CASSANDRA-1712) Creating a SuperColumnFamily
other than BytesType results in incorrect comparator types
[ https://issues.apache.org/jira/browse/CASSANDRA-1712?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12928533#action_12928533 ]
Matthew F. Dennis commented on CASSANDRA-1712:
----------------------------------------------
{quote}
(03:00:59 AM) ceocoder1: I tried adding column using cli and my client (scromium) each time it fails with "shit" can not be converted to Long where shit is value of subcolumn
(03:01:07 AM) ceocoder1: thanks
(03:01:27 AM) ceocoder1: i meant name of subcolumn
(03:02:03 AM) mdennis: that sounds a lot worse than just an output bug
(03:02:09 AM) ceocoder1: y
(03:02:12 AM) mdennis: it sounds like it actually reversed them
(03:02:19 AM) ceocoder1: regular columns are fine
(03:02:24 AM) ceocoder1: just supercolumns
(03:02:44 AM) mdennis: it's karma saying people shouldn't use super columns
{quote}
> 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
> Affects Versions: 0.7 beta 3
> Environment: ubuntu using 0.7.0 beta 3 bin
> Reporter: Dhaivat Pandit
>
> 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.