cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tyler Hobbs (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CASSANDRA-6766) allow now() -> uuid compatibility
Date Wed, 18 Jun 2014 18:30:26 GMT

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

Tyler Hobbs updated CASSANDRA-6766:
-----------------------------------

    Attachment: 6766.txt

6766.txt (and a [branch|https://github.com/thobbs/cassandra/tree/CASSANDRA-6766]) adjusts
{{isValueCompatibleWith()}} for a few types and uses it in place of type equality checks for
assignment.

ReversedType makes the {{isValueCompatibleWith()}} logic a little hairy.  Besides getting
rid of ReversedType or assuming that {{isValueCompatibleWith()}} will always be called on
the receiver's type (and not the value to be received), I'm not sure what else we can do.

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

Mime
View raw message