[
https://issues.apache.org/jira/browse/CASSANDRA-7833?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14137939#comment-14137939
]
Tyler Hobbs commented on CASSANDRA-7833:
----------------------------------------
+1, but in 2.1 you should also make the same change to
{{validateForNativeProtocol()}} in the serializer classes.
> Collection types validation is incomplete
> -----------------------------------------
>
> Key: CASSANDRA-7833
> URL: https://issues.apache.org/jira/browse/CASSANDRA-7833
> Project: Cassandra
> Issue Type: Bug
> Reporter: Sylvain Lebresne
> Assignee: Sylvain Lebresne
> Priority: Minor
> Fix For: 2.0.11
>
> Attachments: 7833.txt
>
>
> The collection types will complain if a value has less values than
> advertised, or if some of those values don't validate, but it does check that
> there is no remaining bytes after the collection. One consequence is that if
> you prepare {{INSERT INTO t(k, s) VALUES (0, ?)}} where {{s}} is a set, and
> you pass a map value (with the same type for keys and values than the set),
> then no error will be issued.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)