[
https://issues.apache.org/jira/browse/CASSANDRA-7208?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sylvain Lebresne updated CASSANDRA-7208:
----------------------------------------
Attachment: 7208.txt
Attaching simple patch to provide a true validate method to CollectionType.
I've thrown a couple unit tests too for sanity sake.
> CollectionType 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)