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

Dropping the last collection column turns CompoundSparseCellNameType$WithCollection into CompoundDenseCellNameType

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Fix Version/s: 2.0.10, 2.1.0
    • Component/s: None
    • Labels:
      None
    • Severity:
      Normal

      Description

      Dropping the last collection column turns CompoundSparseCellNameType$WithCollection into CompoundDenseCellNameType

      To reproduce

      cqlsh:test> create table test (id int primary key, col map<int,int>);
      cqlsh:test> alter table test drop col;
      cqlsh:test> alter table test add col list<int>;
      code=2200 [Invalid query] message="Cannot add new column to a COMPACT STORAGE table"
      

        Attachments

        1. 7744.txt
          10 kB
          Sylvain Lebresne

          Activity

            People

            • Assignee:
              slebresne Sylvain Lebresne
              Reporter:
              aleksey Aleksey Yeschenko
              Authors:
              Sylvain Lebresne
              Reviewers:
              Aleksey Yeschenko
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: