You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Sylvain Lebresne (JIRA)" <ji...@apache.org> on 2014/08/26 16:56:57 UTC

[jira] [Created] (CASSANDRA-7833) Collection types validation is incomplete

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)