You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Tyler Hobbs (JIRA)" <ji...@apache.org> on 2014/08/19 23:39:18 UTC

[jira] [Updated] (CASSANDRA-7797) Cannot alter ReversedType(DateType) clustering column to ReversedType(TimestampType)

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

Tyler Hobbs updated CASSANDRA-7797:
-----------------------------------

    Attachment: 7797.txt

7797.txt fixes {{ReversedType.isCompatibleWith()}} and adds some unit tests.

> Cannot alter ReversedType(DateType) clustering column to ReversedType(TimestampType)
> ------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-7797
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-7797
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>            Reporter: Tyler Hobbs
>            Assignee: Tyler Hobbs
>             Fix For: 2.0.10, 2.1.0
>
>         Attachments: 7797.txt
>
>
> ReversedType doesn't override {{AbstractType.isCompatibleWith()}}, so {{ReversedType(TimestampType)}} is not considered compatible with {{ReversedType(DateType)}}.  It needs to verify that the other type is reversed and that the base types are compatible.



--
This message was sent by Atlassian JIRA
(v6.2#6252)