Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-7859

Extend freezing to collections

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • 2.1.3
    • None

    Description

      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>>>.

      Attachments

        1. 7859-final.txt
          233 kB
          Tom Hobbs
        2. 7859-v1.txt
          244 kB
          Tom Hobbs

        Activity

          People

            thobbs Tom Hobbs
            slebresne Sylvain Lebresne
            Tom Hobbs
            Sylvain Lebresne
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: