Sylvain Lebresne created CASSANDRA-7833:
-------------------------------------------

             Summary: 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


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.2#6252)

Reply via email to