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/09/01 15:16:20 UTC

[jira] [Created] (CASSANDRA-7859) Extend freezing to collections

Sylvain Lebresne created CASSANDRA-7859:
-------------------------------------------

             Summary: Extend freezing to collections
                 Key: CASSANDRA-7859
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-7859
             Project: Cassandra
          Issue Type: Improvement
            Reporter: Sylvain Lebresne
             Fix For: 2.1.1


This is the follow-up to CASSANDRA-7857, to extend {{frozen}} to collections. This will allow things like {{map<text, frozen<map<int, int>>>}} for instance, as well as allowing {{frozen}} collections in PK columns.

Additionally (and that's alsmot a separate ticket but I figured we can start discussing it here), we could decide that tuple is a frozen type by default. This means that we would allow {{tuple<int, text>}} without needing to add {{frozen}}, but we would require {{frozen}} for complex type inside tuple, so {{tuple<int, list<text>>}} would be rejected, but not {{tuple<int, frozen<list<text>>>}}.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)