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] [Commented] (CASSANDRA-7208) CollectionType validate method should have a proper implementation
Date Fri, 16 May 2014 19:58:15 GMT

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

Tyler Hobbs commented on CASSANDRA-7208:
----------------------------------------

+1 with two very minor nits:

* MapSerializer.validateForNativeProtocol() doesn't put a curly brace on a new line
* In CollectionSerializer.validate(), there's a typo in the comment

> CollectionType validate method should have a proper implementation
> ------------------------------------------------------------------
>
>                 Key: CASSANDRA-7208
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-7208
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Sylvain Lebresne
>            Assignee: Sylvain Lebresne
>             Fix For: 2.1 rc1
>
>         Attachments: 7208.txt
>
>
> This is pretty much the same problem than for CASSANDRA-6783 but with the {{validate}}
method. Namely, we use to never need that method for {{ListType/SetType/MapType}} but we need
it now with UDT. More precisely, passing a UDT value with collections inside in a prepare
statement currently throws an UnsupportedOperationException.



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

Mime
View raw message