[ 
https://issues.apache.org/jira/browse/CASSANDRA-6766?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14037477#comment-14037477
 ] 

Sylvain Lebresne commented on CASSANDRA-6766:
---------------------------------------------

Fair enough, Then what about splitting into 2 methods: the real 
{{isValueCompatibleWith}} in AbstractType would check if the argument is 
ReversedType and if so, would "unwrap" it, and otherwise would call an 
auxiliary {{isValueCompatibleWithInternal}} which is the one the subclasses 
would override. Not absolutely sublime, but at least deal with ReversedType in 
one place versus doing it in very override of isValueCompatibleWith. 

> allow now() -> uuid compatibility
> ---------------------------------
>
>                 Key: CASSANDRA-6766
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-6766
>             Project: Cassandra
>          Issue Type: Bug
>          Components: API
>            Reporter: Jonathan Ellis
>            Assignee: Tyler Hobbs
>            Priority: Minor
>              Labels: cql
>             Fix For: 2.0.9
>
>         Attachments: 6766.txt
>
>
> Bad Request: Type error: cannot assign result of function now (type timeuuid) 
> to id (type uuid)



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

Reply via email to