You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Dhaivat Pandit (JIRA)" <ji...@apache.org> on 2010/11/05 09:01:42 UTC

[jira] Created: (CASSANDRA-1712) Creating a SuperColumnFamily other than BytesType results in incorrect comparator types

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.


[jira] Commented: (CASSANDRA-1712) Creating a SuperColumnFamily other than BytesType results in incorrect comparator types

Posted by "Pavel Yaskevich (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-1712?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12928816#action_12928816 ] 

Pavel Yaskevich commented on CASSANDRA-1712:
--------------------------------------------

sure! I will start with this issue right after I will finish 1470.

> 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: Pavel Yaskevich
>            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.


[jira] Commented: (CASSANDRA-1712) Creating a SuperColumnFamily other than BytesType results in incorrect comparator types

Posted by "Matthew F. Dennis (JIRA)" <ji...@apache.org>.
    [ 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.


[jira] Resolved: (CASSANDRA-1712) Creating a SuperColumnFamily other than BytesType results in incorrect comparator types

Posted by "Jonathan Ellis (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CASSANDRA-1712?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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

       Resolution: Fixed
    Fix Version/s: 0.7.0

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


[jira] Updated: (CASSANDRA-1712) Creating a SuperColumnFamily other than BytesType results in incorrect comparator types

Posted by "Jonathan Ellis (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CASSANDRA-1712?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jonathan Ellis updated CASSANDRA-1712:
--------------------------------------

    Component/s: Tools
       Priority: Trivial  (was: Major)
       Assignee: Jonathan Ellis

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


[jira] Commented: (CASSANDRA-1712) Creating a SuperColumnFamily other than BytesType results in incorrect comparator types

Posted by "Jonathan Ellis (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-1712?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12928572#action_12928572 ] 

Jonathan Ellis commented on CASSANDRA-1712:
-------------------------------------------

what does "show keyspaces" on the cli say the comparators are?

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


[jira] Commented: (CASSANDRA-1712) Creating a SuperColumnFamily other than BytesType results in incorrect comparator types

Posted by "Dhaivat Pandit (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-1712?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12928708#action_12928708 ] 

Dhaivat Pandit commented on CASSANDRA-1712:
-------------------------------------------

Output of show keyspaces

Keyspace: system:
  Replication Factor: 1
  Column Families:
    ColumnFamily: IndexInfo
    "indexes that have been completed"
      Columns sorted by: org.apache.cassandra.db.marshal.UTF8Type
      Row cache size / save period: 0.0/0
      Key cache size / save period: 0.01/3600
      Memtable thresholds: 0.571875/122/60
      GC grace seconds: 0
      Compaction min/max thresholds: 4/32
    ColumnFamily: Schema
    "current state of the schema"
      Columns sorted by: org.apache.cassandra.db.marshal.UTF8Type
      Row cache size / save period: 0.0/0
      Key cache size / save period: 0.01/3600
      Memtable thresholds: 0.571875/122/60
      GC grace seconds: 0
      Compaction min/max thresholds: 4/32
    ColumnFamily: Migrations
    "individual schema mutations"
      Columns sorted by: org.apache.cassandra.db.marshal.TimeUUIDType
      Row cache size / save period: 0.0/0
      Key cache size / save period: 0.01/3600
      Memtable thresholds: 0.571875/122/60
      GC grace seconds: 0
      Compaction min/max thresholds: 4/32
    ColumnFamily: LocationInfo
    "persistent metadata for the local node"
      Columns sorted by: org.apache.cassandra.db.marshal.BytesType
      Row cache size / save period: 0.0/0
      Key cache size / save period: 0.01/3600
      Memtable thresholds: 0.571875/122/60
      GC grace seconds: 0
      Compaction min/max thresholds: 4/32
    ColumnFamily: HintsColumnFamily (Super)
    "hinted handoff data"
      Columns sorted by: org.apache.cassandra.db.marshal.BytesType/org.apache.cassandra.db.marshal.BytesType
      Subcolumns sorted by: org.apache.cassandra.db.marshal.BytesType
      Row cache size / save period: 0.0/0
      Key cache size / save period: 0.01/3600
      Memtable thresholds: 0.571875/122/60
      GC grace seconds: 0
      Compaction min/max thresholds: 4/32
Keyspace: Skunk:
  Replication Factor: 1
  Column Families:
    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
      Row cache size / save period: 1000.0/0
      Key cache size / save period: 10000.0/3600
      Memtable thresholds: 0.29/255/59
      GC grace seconds: 864000
      Compaction min/max thresholds: 4/32
    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
      Row cache size / save period: 0.0/0
      Key cache size / save period: 200000.0/3600
      Memtable thresholds: 0.571875/122/60
      GC grace seconds: 864000
      Compaction min/max thresholds: 4/32
Keyspace: Lucandra:
  Replication Factor: 1
  Column Families:
    ColumnFamily: Documents
      Columns sorted by: org.apache.cassandra.db.marshal.BytesType
      Row cache size / save period: 0.0/0
      Key cache size / save period: 200000.0/3600
      Memtable thresholds: 0.571875/122/60
      GC grace seconds: 864000
      Compaction min/max thresholds: 4/32
    ColumnFamily: TermInfo (Super)
      Columns sorted by: org.apache.cassandra.db.marshal.BytesType/org.apache.cassandra.db.marshal.BytesType
      Subcolumns sorted by: org.apache.cassandra.db.marshal.BytesType
      Row cache size / save period: 0.0/0
      Key cache size / save period: 200000.0/3600
      Memtable thresholds: 0.571875/122/60
      GC grace seconds: 864000
      Compaction min/max thresholds: 4/32


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


[jira] Resolved: (CASSANDRA-1712) Creating a SuperColumnFamily other than BytesType results in incorrect comparator types

Posted by "Jonathan Ellis (JIRA)" <ji...@apache.org>.
     [ 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.


[jira] Reopened: (CASSANDRA-1712) Creating a SuperColumnFamily other than BytesType results in incorrect comparator types

Posted by "Jonathan Ellis (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CASSANDRA-1712?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jonathan Ellis reopened CASSANDRA-1712:
---------------------------------------

      Assignee: Pavel Yaskevich  (was: Jonathan Ellis)

Pavel, could you have a look at this second part?

> 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: Pavel Yaskevich
>            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.


[jira] Commented: (CASSANDRA-1712) Creating a SuperColumnFamily other than BytesType results in incorrect comparator types

Posted by "Dhaivat Pandit (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-1712?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12928797#action_12928797 ] 

Dhaivat Pandit commented on CASSANDRA-1712:
-------------------------------------------

For 

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

set CFYaml['newrow'][1234567890]['column'] = 'value'
'column' could not be translated into a LongType.

I think type of ['column'] is UTF8Type not sure why I'm getting translated into LongType error.


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


[jira] Commented: (CASSANDRA-1712) Creating a SuperColumnFamily other than BytesType results in incorrect comparator types

Posted by "Jonathan Ellis (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-1712?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12928783#action_12928783 ] 

Jonathan Ellis commented on CASSANDRA-1712:
-------------------------------------------

Oh, I see.  It's printing the correct comparator/subcomparator types, then there is an additional line with the comparator type incorrectly listed as the subcomparator.  Fixed in r1031741.

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